Re: Unable to install protobuf-2.5.0 for python with setup.py

3,480 views
Skip to first unread message

Andrew L K Goh

unread,
Dec 21, 2012, 10:10:24 AM12/21/12
to prot...@googlegroups.com
Hi,

Thanks for the reply.
That's what I did, where I said I successfully install the C++ library.

I also verified that with "protoc --version".
Maybe because I build the C++ library with "./configure --prefix=/usr" ?

Regards,
Andrew



On Friday, December 21, 2012 3:38:08 AM UTC+8, jank...@gmail.com wrote:
I encountered the same problem.  I got it to work by building first prior to installing:

cd protobuf-2.5.0rc1
./configure
make
sudo make install
cd python
python ./setup.py build
sudo python ./setup.py install

Good luck!

I hope this new version fixes some of the Python C++ implementation bugs in 2.4.1.  I am looking forward to testing this.

Feng Xiao

unread,
Dec 23, 2012, 11:23:02 PM12/23/12
to prot...@googlegroups.com
Have you tried "python setup.py build" before install?

Andrew L K Goh

unread,
Dec 30, 2012, 8:32:43 PM12/30/12
to prot...@googlegroups.com
Hi,

It works after doing "python setup.py build"! Thanks!
Why this wasn't in the README.txt instruction? :(
Reply all
Reply to author
Forward
0 new messages