无法使用Conda安装Caffe

时间:2019-09-19 01:28:01

标签: python anaconda conda caffe pycaffe

我在GPU机器上安装了cafe,但是导入它会导致错误。

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/tafa/anaconda2/envs/caffe/lib/python2.7/site-packages/caffe/__init__.py", line 1, in <module>
    from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
  File "/home/tafa/anaconda2/envs/caffe/lib/python2.7/site-packages/caffe/pycaffe.py", line 13, in <module>
    from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: /home/tafa/anaconda2/envs/caffe/lib/python2.7/site-packages/caffe/../../../libcaffe.so.1.0.0: undefined symbol: _ZNK6google8protobuf7Message11GetTypeNameB5cxx11Ev

0 个答案:

没有答案