caffe求助

我按照教程安装好了caffe(没有报错)
但是在import caffe是报以下错误:
zl@zl-Z170X-UD3:~$ python
Python 2.7.14 |Anaconda custom (64-bit)| (default, Oct 16 2017, 17:29:19)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import caffe
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/zl/caffe-master/python/caffe/__init__.py", line 1, in <module>
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
File "/home/zl/caffe-master/python/caffe/pycaffe.py", line 15, in <module>
import caffe.io
File "/home/zl/caffe-master/python/caffe/io.py", line 8, in <module>
from caffe.proto import caffe_pb2
File "/home/zl/caffe-master/python/caffe/proto/caffe_pb2.py", line 7, in <module>
from google.protobuf import descriptor as _descriptor
File "/home/zl/anaconda2/lib/python2.7/site-packages/google/protobuf/descriptor.py", line 50, in <module>
from google.protobuf.pyext import _message
AttributeError: 'module' object has no attribute 'MutableMapping'
>>>
已邀请:

青枫桥影

赞同来自:

编译过pycaffe了吗?测试通过没?
make pycaffe
make pytest

要回复问题请先登录注册