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

前端 未结 10 548
孤城傲影
孤城傲影 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:09

    Always for Ubuntu/Debian, chjortlund's answer it's very good but not perfect, since this way you get an unoptimized BLAS library. You have simply to do:

    sudo apt install libatlas-base-dev
    

    and voila'!

    Source

提交回复
热议问题