My .py file that checks for implementation is in a completely different
folder. I'll try re-installing again.
On Friday, July 29, 2016 at 3:25:10 PM UTC-6, Jie Luo wrote:
> I tried and it returns 'cpp' as expected.
> First, make sure you use the correct commands:
> python setup.py build --cpp_implementaion
> python setup.py install --cpp_implementaion
> Second, Where do you put your .py file to check api_implementation.Type()?
> Make sure your file does not under protobuf/python (DO NOT in the same
> directory as setup.py)
> On Fri, Jul 29, 2016 at 12:30 PM, Feng Xiao <xiao...@google.com
>>> I initially used a pure python implementation of protocol buffers, but I
>>> changed it later to use the c++ library implementation. So I installed
>>> protobuf using these github instructions
>>> then I followed these instructions
>>> <https://github.com/google/protobuf/blob/master/python/README.md> to
>>> use the C++ implementation. But when I use api_implementation.Type()
>>> still returns 'python'. Why is it still using the python implementation?
>>> If this function should not be used, then what should I use to check
>>> I'm using protocol buffers 2.6.1 on CentOS.
>>> 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
>>> To post to this group, send email to prot...@googlegroups.com
>>> Visit this group at https://groups.google.com/group/protobuf.
>>> For more options, visit https://groups.google.com/d/optout.
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 post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.