and get:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named google.protobuf
I feel that either the gpb install did not work or I need to set an
env variable to point to some libraries.
thanks in advance,
Eric
--
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.
Jason,
Thanks - I did that and it helps and now I have a new error. Do you have any thoughts on this:
[jabber@jabberserver python]$ python -c "import google.protobuf"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "google/__init__.py", line 1, in <module>
__import__('pkg_resources').declare_namespace(__name__)
ImportError: No module named pkg_resources
thanks again,
EricOn Tue, Apr 6, 2010 at 4:40 PM, Jason Hsueh <jas...@google.com> wrote:
Eric -Those commands install the C++ library - did you follow python/README.txt to install the python library?Once you've done the below you should run:python/ $ python setup.py testpython/ $ python setup.py install(might need to sudo the last one)That should install the modules into the correct locations so that you can import the protobuf library.On Tue, Apr 6, 2010 at 4:27 PM, Sherry Yang <yangc...@gmail.com> wrote:Hi Jason,
Thanks for the followup. I did the standard:
./configure
make
make check
make install
and it seemed to run ok. I see a config.log file - is there anything I should look for there.
thanks again,
Eric