参考博客方法,在tx2安装的keras时遇到如下问题:
config = configuration()
File "/tmp/pip-install-bahdO5/scipy/setup.py", line 395, in configuration
raise NotFoundError(msg)
numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
怀疑是安装scipy时就出现问题,后来运行如下命令后正常安装。
sudo apt-get install python-scipy
sudo apt-get install python-pillow
sudo apt-get install python3-scipy python3-matplotlib ipython ipython-notebook python3-sympy python3-nose
sudo pip install keras
在pip安装一些包时,下载速度非常慢,可以在命令后加上 -i https://pypi.tuna.tsinghua.edu.cn/simple
例如:pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple