I am attempting to install scipy 1.9.1 with the MKL implementation of BLAS, using pip as my package manager. For numpy, I can do this with: pip install numpy --no-binary numpy
. Doing this with Scipy (pip install scipy--no-binary scipy
) fails with the error:
Run-time dependency openblas found: NO (tried pkgconfig and cmake)
../../scipy/meson.build:130:0: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig and cmake
I cannot figure out how to configure scipy/meson to use a specific version of BLAS, it always looks for OpenBLAS. Older versions of scipy could accomplish this in a variety of ways using environment variables or site.cfg settings, but the new meson build system specifically no long supports this.
Any suggestions how I can build scipy from the source using a specific BLAS library (ideally with pip)?