- 分析:由于这个安装Python环境的时候未安装numpy库,所以报错,可以翻阅cmake出来的提示信息。
- 说明:其实忽略这个问题也是可以的,caffe基础的也能正常使用,可能存在某些我还没接触到的未知问题
- 解决方案:少了numpy库,安装上去就可以了;为了避免默写未知的不可描述的问题,可以把numpy,matplotlib,scipy一起安装上去,学过Python数据分析的人应该知道,这三个库在数据分析的时候都是必须的。安装命令:
sudo apt-get install the python-dev
sudo apt-get python-matplotlib
sudo apt-get install python-scipy
sudo apt-get install python-numpy