Discussion:
Issue 235 in protobuf: ImportError: No module named google.protobuf
p***@googlecode.com
15 years ago
Permalink
Status: New
Owner: ***@google.com
Labels: Type-Defect Priority-Medium

New issue 235 by 0xioerror: ImportError: No module named google.protobuf
http://code.google.com/p/protobuf/issues/detail?id=235

What steps will reproduce the problem?

1. Get protobuf-2.3.0

2. ./configure && make && cd python && python setup.py test && python
setup.py install && cd /tmp

3.

$ python
[...]
import google.protobuf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named google.protobuf

$ tree -L 3 /usr/lib/python2.7/site-packages/protobuf-2.3.0-py2.7.egg/
/usr/lib/python2.7/site-packages/protobuf-2.3.0-py2.7.egg/
├── EGG-INFO
│   ├── dependency_links.txt
│   ├── namespace_packages.txt
│   ├── PKG-INFO
│   ├── SOURCES.txt
│   ├── top_level.txt
│   └── zip-safe
└── google
├── __init__.py
├── __init__.pyc
└── protobuf
├── descriptor_pb2.py
├── descriptor_pb2.pyc
├── descriptor.py
├── descriptor.pyc
├── __init__.py
├── __init__.pyc
├── internal
├── message.py
├── message.pyc
├── reflection.py
├── reflection.pyc
├── service.py
├── service.pyc
├── service_reflection.py
├── service_reflection.pyc
├── text_format.py
└── text_format.pyc


What is the expected output? What do you see instead?

It should work.


What version of the product are you using? On what operating system?

protobuf-2.3.0

python-2.7-3

Arch Linux
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to protobuf+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
p***@googlecode.com
15 years ago
Permalink
Updates:
Status: CannotReproduce

Comment #1 on issue 235 by ***@google.com: ImportError: No module named
google.protobuf
http://code.google.com/p/protobuf/issues/detail?id=235

I am not able to reproduce this with Python 2.6.5. You'll have to provide
more information.
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to protobuf+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
Loading...