I'm trying to install a virtualenv for python apps that use protobufs. I would like to get the improved performance from the C++ bindings. However, when I try the following, I get errors indicating that a "python_descriptor.cc" isn't found. Any thoughts would be greatly appreciated !! user@system $ virtualenv API2 user@system $ source API2/bin/activate user@system $ export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp (API2)user@system $ sudo PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp pip install --upgrade protobuf Downloading/unpacking protobuf from https://pypi.python.org/packages/source/p/protobuf/protobuf-2.5.0.tar.gz#md5=338813f3629d59e9579fed9035ecd457 Running setup.py egg_info for package protobuf Using EXPERIMENTAL C++ Implmenetation.
Downloading/unpacking distribute from https://pypi.python.org/packages/source/d/distribute/distribute-0.6.45.tar.gz#md5=8953f2c07e6700dabf2ec150129b8c31 (from protobuf) Running setup.py egg_info for package distribute Installing collected packages: protobuf, distribute Running setup.py install for protobuf Using EXPERIMENTAL C++ Implmenetation. building 'google.protobuf.internal._net_proto2___python' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/include/python2.7 -c google/protobuf/pyext/python_descriptor.cc -o build/temp.linux-x86_64-2.7/google/protobuf/pyext/python_descriptor.o x86_64-linux-gnu-gcc: error: google/protobuf/pyext/python_descriptor.cc: No such file or directory x86_64-linux-gnu-gcc: fatal error: no input files compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 4 Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/protobuf/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-zOZjtw-record/install-record.txt --single-version-externally-managed: Using EXPERIMENTAL C++ Implmenetation. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf?hl=en. For more options, visit https://groups.google.com/groups/opt_out.