caffe-wrap_python.hpp5023-fatal-error-pyconfig.h-No-such-file-or-dir
目录
caffe : /wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or dir
问题
caffe make -j8
/usr/include/boost/python/detail/wrap_python.hpp:50:23:
fatal error: pyconfig.h: No such file or directory
解决:
make clean
export CPLUS_INCLUDE_PATH=/你的anconda路径/include/python2.7
make all -j8
原因
python路径都改为了anaconda的路径,但是CPLUS的path没有设置,系统中我也没把aneconda设置成默认的python导致的。