We use Python 3.x in our projects. But the official client of Protocol Buffers only supports python 2.x.
I don’t want to downgrade to python 2.x.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
UPDATE 2: Python 3.x is natively supported as of version 3.0.0.
You can see versions released on GitHub here:
https://github.com/protocolbuffers/protobuf/releases
UPDATE: The stable version of protobuf, 2.6.1, does not support Python 3.x. However, the newer 3.0.0 release (still in beta) supports Python 3.x. You can see versions released on PyPi here:
https://pypi.python.org/pypi/protobuf
No, there isn’t. There is a discussion on the protobuf google group about Python 3.X support. It indicates that Google wants to keep support for Python 2.4, so porting to Python 3.X is not easy. If the project branches or can drop support for Python 2.4 and 2.5, it would be a lot easier to port.