python nanopb/generator/nanopb_generator.py message.proto
I'm getting the error
*************************************************************
*** Could not import the Google protobuf Python libraries ***
*** Try installing package 'python-protobuf' or similar. ***
*************************************************************
Traceback (most recent call last):
File "nanopb/generator/nanopb_generator.py", line 4, in <module>
import google.protobuf.descriptor_pb2 as descriptor
ImportError: No module named google.protobuf.descriptor_pb2
My protobuf was install with homebrew if this is an issue you are aware of. The Protocol Buffer compiler (`protoc`) is working as it was able to create the `message.pb` file without an error.
Anyone know of what is going on here? I fail to see why it can't find protobuf if I have it installed and linked `brew link protobuf`:
Warning: Already linked: /usr/local/Cellar/protobuf/2.4.1