question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

blas missing when more than scipy in requirements

See original GitHub issue
# default.nix
let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix/";
    ref = "refs/tags/2.3.0";
   });
in mach-nix.mkPython {
  requirements = ''
    scipy
  '';
  _.scipy.propagatedBuildInputs.add = [ mach-nix.nixpkgs.blas ];
}

builds for aarch64 (nix-build --option system aarch64-linux --option sandbox false --extra-platforms aarch64-linux -E 'import ./.'), but if I add another python package to requirements I get:

error: attribute ‘blas’ missing, at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/development/python-modules/scipy/default.nix:21:19 (use ‘–show-trace’ to show detailed location information) shell returned 1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DavHaucommented, Oct 5, 2020

Everything looks fine. Does it not?

1reaction
DavHaucommented, Sep 22, 2020

did you manage to build for aarch64? I tried with nix-build --option system aarch64-linux --option sandbox false --extra-platforms aarch64-linux But I’m running into: ImportError: libopenblasp-r0-c9541ae0.3.9.dev.so: cannot open shared object file

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues with scipy installation on Windows - missing blas and ...
When running the setup.py file inside the scipy folder (which I cloned from github), I got an error message saying "NotFoundError: no lapack/blas...
Read more >
trouble installing on apple silicon M1 · Issue #13409 · scipy/scipy
Hi , I got this error: numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found. Note: Accelerate is no longer supported. To ...
Read more >
Building from source on Linux — SciPy v1.4.1 Reference Guide
BLAS and LAPACK libraries (optional but strongly recommended for NumPy, required for SciPy): typically ATLAS + OpenBLAS, or MKL.
Read more >
Building from source — NumPy v1.25.dev0 Manual
NumPy does not require any external linear algebra libraries to be installed ... will prefer to use ATLAS, then BLIS, then OpenBLAS and...
Read more >
Installing Numpy with OpenBlas // Lee On Coding // My blog ...
Summary. I was able to install numpy by first building and installing OpenBlas to a non-standard location, and then manually building numpy ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found