Closed raymond30031 closed 6 years ago
This looks like protobuf has not been installed. If you have installed it with pip3 as in the readme, then maybe the issue is that you are running with python2 by default when running python
which hasn't had protobuf installed? Have you tried running with:
python3 read_protobuf.py
Thanks for getting back to me. Turns out i had another version of libprotobuf.so.9 in /usr/lib/x86_64-linux-gnu/libprotobuf.so.9 and it was being exported to the path, so my protobuf3.5 in the conda environment did not get used. After removing it from PATH, python read_protobuf.py works.
Thank you very much for reporting the solution! It may help someone else as well.
Hello,
After I make, i have the scenenet_pb2 module, but when i try to run the read_protobuf.py i get:
jkuo@jkuo-pc:~/plr/pySceneNetRGBD$ python read_protobuf.py Traceback (most recent call last): File "read_protobuf.py", line 1, in import scenenet_pb2 as sn File "/home/jkuo/plr/pySceneNetRGBD/scenenet_pb2.py", line 6, in from google.protobuf import descriptor as _descriptor ModuleNotFoundError: No module named 'google'
I am currently googling on how to solve this, but would just like to ask here in case anyone has any inputs.
Thanks.