Why do I see “cannot import name descriptor_pb2” error?

1,696 views
Skip to first unread message

Nick Bolton

unread,
Dec 1, 2009, 2:39:51 PM12/1/09
to Protocol Buffers
Hi all,

I'm having some trouble using our generated Python class... I posted
my question on SO:

http://stackoverflow.com/questions/1828379/why-do-i-see-cannot-import-name-descriptorpb2-error-when-using-google-protocol

Nick

Kenton Varda

unread,
Dec 1, 2009, 4:37:44 PM12/1/09
to Nick Bolton, Protocol Buffers
As I posed there, you have to actually install the protobuf library as directed in the readme.  Part of the installation process is building descriptor_pb2.py.


--

You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.



Reply all
Reply to author
Forward
0 new messages