Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu: you must compile protobuf-2.4+ from source, cannot use .deb #1

Open
lthown opened this issue Jun 23, 2011 · 2 comments
Open

Comments

@lthown
Copy link

lthown commented Jun 23, 2011

If not you get errors such as
AttributeError: 'FileDescriptor' object has no attribute 'message_types_by_name'

wget https://protobuf.googlecode.com/files/protobuf-2.4.1.tar.gz
tar -xzvf protobuf-2.4.1.tar.gz
cd protobuf-2.4.1
./configure;make;make install
cd python
python setup.py install

@miebach
Copy link

miebach commented May 4, 2012

If you are not root add sudo 2 times in the last 3 lines:

./configure;make;sudo make install
cd python
sudo python setup.py install

@Strykar
Copy link

Strykar commented Mar 6, 2015

On Debian: apt-get install python-pip
pip install protobuf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants