I'm trying to install scipy on CentOS 6 with python 3.9.18 and get error:
../scipy/meson.build:159:9: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig
The problem is that CentOS 6 doesn't provide yum install openblas-devel
but there is blas-devel
.
I though I could use blas-devel
instead and from the scipy documentation I tried:
./python -m pip install scipy -Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack
but this didn't work.
What would the desired way of installing scipy in my case? Should I try to build OpenBLAS and LAPACK from sources?
I had such problem :
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
...
..\meson.build:32: WARNING: You are building from source on a 32-bit Python install. SciPy does not provide 32-bit wheels; install 64-bit Python if you are having issues!
...
Run-time dependency scipy-openblas found: NO (tried pkgconfig)
Run-time dependency openblas found: NO (tried pkgconfig and cmake)
Run-time dependency openblas found: NO (tried pkgconfig)
..\scipy\meson.build:216:9: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig
Try install with parameters --no-cache-dir --no-deps
IMPORTANT: if all dependencies already are installed correctly.
p.s. Or for Linux can take already built wheel