Behebung von numpy.distutils.system_info.NotFoundError: No lapack/blas resources
English
Deutsch
Hinweis: Wenn du unter Windows bist, kannst du scipy nicht mit pip installieren! Folge stattdessen dieser Anleitung: https://www.scipy.org/install.html. Dieser Blogbeitrag ist nur für Linux-basierte Systeme!
Beim Bauen einiger meiner Bibliotheken auf Travis trat dieser Fehler während
install_numpy_scipy.sh
pip install numpy scipy --upgradenumpy_error.txt
numpy.distutils.system_info.NotFoundError: No lapack/blas resourcesLösung
Installiere lapack und blas:
install_lapack_blas.sh
sudo apt-get -y install liblapack-dev libblas-devIn den meisten Fällen erhältst du dann diese Fehlermeldung:
dfftpack_error.txt
error: library dfftpack has Fortran sources but no Fortran compiler foundBehebe das mit
install_gfortran.sh
sudo apt-get install -y gfortranIn Travis kannst du es so in .travis.yml machen:
.travis.yml
before_install:
- sudo apt-get -y install liblapack-dev libblas-dev gfortranCheck out similar posts by category:
Build Systems, Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow