Encountered when compiling pycaffe: ImportError: No module named google.protobuf.internal

ImportError: No module named google.protobuf.internal The problem is because the protobuf module is not installed, the
solution is to install it through conda.
I installed Anaconda2, if you installed Anaconda3, the solution should be the same.
Don't talk nonsense, let's go to the dry goods.
sudo chmod 777 -R Anaconda2 # Change permissions
conda install protobuf

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325646730&siteId=291194637