ImportError: No module named google.protobuf
I'm using caffe2 and getting this issue
ImportError: No module named google.protobuf
I installed protobuf with pip, but can't understand why I'm getting this error.
I'm using caffe2 and getting this issue
ImportError: No module named google.protobuf
I installed protobuf with pip, but can't understand why I'm getting this error.
If you use anaconda, try to remove other installations from pip and install with conda again. This issue can be when you have mixes or multiple installations. First remove all installations from pip and from anaconda, then make sure you don't have installed protobuf anywhere. After that install protobuf again using your prefered manager: conda or pip
pip uninstall protobuf
conda uninstall protobuf
pip list | grep protobuf # should be empty
# the same check for conda
# after that
pip install protobuf
# or
conda install protobuf