caffe配置问题:dynamic module does not define module export function(PyInit_caffe)

Cause:不要用anaconda3,caffe主要支持python2.7

Resolution:换成anaconda2,参考 http://www.cnblogs.com/denny402/p/5088399.html

修改home文件夹中的bashr(ctrl+h显示隐藏文件)再加上export PATH="anaconda2的路径/bin":$PATH

PS:修改.bashrc或.zshrc之后记得source ~/.bashrc或者source ~/.zshrc

 

原文地址:https://www.cnblogs.com/duoduo--up/p/7874395.html