SciPy/Python install on Ubuntu

前端 未结 8 1166
轻奢々
轻奢々 2020-12-04 23:54

I\'m currently following the tutorial Installing the SciPy Stack to install SciPy on Ubuntu 12.04 (Precise Pangolin) (I can\'t use apt-get install

相关标签:
8条回答
  • 2020-12-05 00:58

    Had the same problem. The following worked for me:

    sudo apt-get install libblas-dev
    sudo apt-get install liblapack-dev
    sudo apt-get install gfortran
    
    0 讨论(0)
  • 2020-12-05 01:00

    You need to download and install Atlas as the output suggests. After that, retry the SciPy installation.

    Other option would be apt-get install older version. This will auto-install all the dependencies; and then install the newer one by hand. This will result in two libraries on your machine, one in /usr/share/pyshared most likely and another one somewhere under /usr/local, but you can make sure which one is loaded by altering the module loading path.

    Also, if you will ommit --prefix=/usr/local, while installing newer version on top of older one, it will just get overwritten and the path mangling won't be required.

    0 讨论(0)
提交回复
热议问题