>>> import caffe
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/home/ubuntu/caffe/python/caffe/__init__.py”, line 1, in <module>
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
File “/home/ubuntu/caffe/python/caffe/pycaffe.py”, line 15, in <module>
import caffe.io
File “/home/ubuntu/caffe/python/caffe/io.py”, line 8, in <module>
from caffe.proto import caffe_pb2
File “/home/ubuntu/caffe/python/caffe/proto/caffe_pb2.py”, line 6, in <module>
from google.protobuf.internal import enum_type_wrapper
ImportError: No module named google.protobuf.internal
Solution
sudo apt-get install python-protobuf
Read More:
- C# Error: Import “google/protobuf/timestamp.proto“ was not found or had errors. [How to Solve]
- [Solved] No module named ‘pywt‘ or ModuleNotFoundError: No module named ‘skimage.metrics‘
- [Solved] Win10 Warning: ModuleNotFoundError: No module named ‘win32con‘ and No module named ‘antlr4‘
- The solution of no module named ‘jinja2. Asyncsupport’
- How to Solve ModuleNotFoundError: No module named ‘_bz2‘
- [Solved] Docker+uWSGI+Flask Error: ModuleNotFoundError: No module named ‘flask‘
- [Solved] Tensorflow-gpu 2.0.0 Run Error: ModuleNotFoundError: No module named ‘tensorflow_core.estimator‘
- [Solved] Windows Android Studio Cannot Start Error: Internal error. Please refer to https://code.google.com/p/android/issue
- Google Play googleapi: Error 403: Google Play Android Developer API has not been used in project
- Error: uncaughtexception: cannot find module ‘internal / util / types’
- Solution: from. Import ft2font importerror: DLL load failed: the specified module cannot be found
- [Solved] import cv2 Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- JMeter JDBC Error: No pool found named: ‘test‘ [How to Solve]
- [Solved] swiper Error: The requested module ‘react’ is expected to be of type CommonJS, which does not support named exports. CommonJS modules can be imported by importing the default export
- [Solved] There is no getter for property named ‘distinct’ in…
- [Solved] SpringBoot Project Start Error: No bean named ‘org.springframework.context.xxxxx.importRegistry‘ available
- Error: Unable to build IHost No DbContext named ‘PersistedGrantDbContext‘ was found.
- [Solved] internal/modules/cjs/loader.js:892 ^Error: Cannot find module ‘C:\Users\LX\Desktop\Node_DEMO\a
- [Jeston Xavier NX Compile librealsense Error] AttributeError: module ‘pyrealsense2‘ has no attribute ‘pipeline‘
- [Solved] Vue.js error: Module build failed: Error: No parser and no file path given, couldn’t infer a parser.