装好anaconda2之后,进入python环境,进行import操作
解决的办法:
在anaconda2中安装protobuf最新版本。
在终端中进入anaconda2,在其中运行:conda install protobuf
然后再import caffe,就没有问题了。