ImportError: No module named 'google'
Failed to include caffe_pb2, things might go wrong!Traceback (most recent call last):File "test_model.py", line 5, in <module>import caffeFile "/opt/share0/guowuwei/caffe_root/caffe/...
Failed to include caffe_pb2, things might go wrong!
Traceback (most recent call last):
File "test_model.py", line 5, in <module>
import caffe
File "/opt/share0/guowuwei/caffe_root/caffe/python/caffe/__init__.py", line 4, in <module>
from .proto.caffe_pb2 import TRAIN, TEST
File "/opt/share0/guowuwei/caffe_root/caffe/python/caffe/proto/caffe_pb2.py", line 7, in <module>
from google.protobuf.internal import enum_type_wrapper
ImportError: No module named 'google'
sudo pip install protobuf or
conda install protobuf
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)