首先需要安装caffe for python,安装过程可以参考:http://blog.youkuaiyun.com/u011961856/article/details/76557509 python 中调用caffe库函数为: import caffe 如果不再caffe目录下运行汇报错: