错误消息:ImportError:没有名为_caffe的模块

时间:2017-12-01 10:01:28

标签: python macos terminal caffe pycaffe

我尝试安装install Caffe Tutorial,但我阻止了tuto中的这一行:./ tools / demo.py

我有这条错误消息:

MacBook-Pro-de-OlostA:fast-rcnn OlostA$ ./tools/demo.py

Traceback (most recent call last):

  File "./tools/demo.py", line 19, in <module>

    from fast_rcnn.config import cfg

  File "/Users/OlostA/Technologies/fast-rcnn/tools/../lib/fast_rcnn/__init__.py", line 9, in <module>

    from . import train

  File "/Users/OlostA/Technologies/fast-rcnn/tools/../lib/fast_rcnn/train.py", line 10, in <module>

    import caffe

  File "/Users/OlostA/Technologies/fast-rcnn/tools/../caffe-fast-rcnn/python/caffe/__init__.py", line 1, in <module>

    from .pycaffe import Net, SGDSolver

  File "/Users/OlostA/Technologies/fast-rcnn/tools/../caffe-fast-rcnn/python/caffe/pycaffe.py", line 13, in <module>

    from ._caffe import Net, SGDSolver

ImportError: No module named _caffe

提前致谢。

0 个答案:

没有答案