https://www.cnblogs.com/go-better/p/7160615.html
此版本注意之后要将path 路径导出
export PYTHONPATH=/home/tom/caffe/python:$PYTHONPATH
/home/tom/caffe/python为自己安装 caffe下的python 文件夹所在的路径
安装时遇到问题解决方案:
http://blog.csdn.net/hongye000000/article/details/51043913
本人遇到make pycaffe出现错误
python/caffe/_caffe.cpp:10:31: fatal error: numpy/arrayobject.h: no such file or directory
Makefile:498: recipe for target 'python/caffe/_caffe.so' failed make: *** [python/caffe/_caffe.so] Error 1
原因
python-numpy没有安装到位
解决方法
输入命令
sudo apt-get install python-numpy
确认Makefile.config文件中有以下代码,注意路径或版本号与自己的相符。
PYTHON_INCLUDE := /usr/include/python2.7 \
/usr/lib/python2.7/dist-packages/numpy/core/include
ubuntu系统 安装后要做的事情 http://blog.csdn.net/skykingf/article/details/45267517/