2016-11-26 190 views
0

我試過pip install --user keras==1.0.6但它無法構建scipy。它返回:如何在arm64,Ubuntu 16.04上安裝Keras?

numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

failed with error code 1 in /tmp/pip-build-XjG1HN/scipy/

我也試過單獨安裝SciPy的,使用these instructions

export PATH="$PATH:/home/your_user/.local/bin" 
pip install --user scipy 

但收到了同樣的錯誤。

注:發佈時,我意識到我沒有用$USER替換your_user。但是,我找到了不同的解決方案,請參閱下面的答案。

回答

3
sudo apt-get install python-scipy 

這是在arm64 Ubuntu 16.04上成功安裝的scipy(在搭載Jetpack 2.3的NVIDIA Jetson TX1上)。

附加軟件包包括lapack和blas軟件包,其中包含錯誤。

下列附加軟件包將被安裝: LIB BLAS -common LIB BLAS 3 libgfortran3 LIB LAPACK 3蟒-裝飾蟒成像蟒-numpy的 蟒泌

然後安裝keras 1.0.6:

pip install --user keras==1.0.6


我通過google搜索「install scipy」arm64「」找到了答案,找到Xenial (16.04) : python-scipy package : Ubuntu - Launchpad