ModuleNotFoundError: No module named google.protobuf
For this error report that is usually easy to generate, the first feeling is that the version of the third-party library does not match, and of course this is actually the problem.
However, it is worth noting that using the following operations did not solve the problem. And this method is also found using search engines:
pip uninstall protobuf
pip uninstall google
pip install google
pip install protobuf
Still haven't been able to solve the problem.
Here comes the point, using the following conda install
turned out to be successful:
conda install -c anaconda protobuf