Installing scipy on CentOS 6 (OpenBLAS problem)

93 Views Asked by At

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?

0

There are 0 best solutions below