I am installing Scipy-0.16.1
on Ubuntu 14.04
OpenBLAS_0.2.18
and Numpy-1.11.0
have been installed with no issues.
Scipy-0.16.1.tar.gz
has been downloaded
site.cfg
was copied and un-commented the following lines:
[openblas]
libraries = openblas
library_dirs = /opt/OpenBLAS/lib
include_dirs = /opt/OpenBLAS/include
Added a line to ~/.bashrc
export LD_LIBRARY_PATH=/opt/OpenBLAS/lib:$LD_LIBRARY_PATH
source ~/.bashrc
ldconfig
sudo python setup.py config
ERROR
ImportError: libopenblas.so.0: cannot open shared object file: No such file or directory
You have to install OpenBlas
system library. Try:
sudo apt-get install libopenblas-dev
Firstly, try locate libopenblas.so.0
to find out the path.
Then, do echo $LD_LIBRARY_PATH
to check if it has been included.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With