I get the aforementioned error message when trying to use the cpp backend 
for python with the new version 2.6.0:

Python 2.7.5 |Anaconda 2.0.0 (64-bit)| (default, Jul  1 2013, 12:37:52) 
[MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from google.protobuf.internal import cpp_message
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build\bdist.win-amd64\egg\google\protobuf\internal\cpp_message.py", 
line 39, in <module>
ImportError: cannot import name _net_proto2___python
>>> import os
>>> import google.protobuf as pb
>>> pb
<module 'google.protobuf' from 

Is this a bug? It seems _net_proto2___python may be a leftover from a 
previous version?

Also, to compile with VS2008 (required for Python 2.7) I had to change the 
iterator below to a const_iterator



You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to