What is the easiest way to install BLAS and LAPACK for scipy?

前端 未结 10 546
孤城傲影
孤城傲影 2020-12-04 14:12

I would like to run a programme that someone else has prepared and it includes scipy. I have tried to install scipy with

pip install scipy

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-04 15:05

    I got this problem on freeBSD. It seems lapack packages are missing, I solved it installing them (as root) with:

    pkg install lapack
    pkg install atlas-devel  #not sure this is needed, but just in case
    

    I imagine it could work on other system too using the appropriate package installer (e.g. apt-get)

提交回复
热议问题