ImportError: No module named google.protobuf.internal

>>> 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: