You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
when I run
python -c 'from caffe2.python import core'
Traceback (most recent call last):
File "", line 1, in
File "caffe2/python/core.py", line 11, in
from caffe2.proto import caffe2_pb2
File "caffe2/proto/caffe2_pb2.py", line 6, in
from google.protobuf.internal import enum_type_wrapper
ImportError: No module named google.protobuf.internal
The text was updated successfully, but these errors were encountered:
I have encounter the similar problem.
I am using anaconda2, and my problem is that I have installed multiple protobuf (conda install -c distributions libprotobuf=2.5.0, which is used for caffe compilation , and also pip install protobuf, which is 3.3.0 mistakenly installed at first).
So I used pip uninstall protobuf and successfully uninstalled protobuf-3.3.0, then the pycaffe import works.
I am too facing this issue. I have both anaconda2 and anaconda3 installed(i know its bad way to have both python version, but i had my own reasons.) I changed the makefile to point to python2 anaconda and installed caffe2. Now I am facing the same issue. Any one can suggest what may be the problem?
when I run
python -c 'from caffe2.python import core'
Traceback (most recent call last):
File "", line 1, in
File "caffe2/python/core.py", line 11, in
from caffe2.proto import caffe2_pb2
File "caffe2/proto/caffe2_pb2.py", line 6, in
from google.protobuf.internal import enum_type_wrapper
ImportError: No module named google.protobuf.internal
The text was updated successfully, but these errors were encountered: