Solution: pip install pytz --upgrade

On Tuesday, July 19, 2016 at 9:24:32 AM UTC-6, Oi Lee wrote:
>
> Had to install python setuptools. But I now have a version conflict. 
>
> pkg_resources.VersionConflict: (pytz 2012d (/usr/lib/python2.7/site-
> packages), Requirement.parse('pytz>=2010'))
>
> Any suggestions?
>
>
> On Monday, July 18, 2016 at 4:01:50 PM UTC-6, Oi Lee wrote:
>>
>> Using CENToS and protobuf 2.6.1, when I run:
>> python setup.py test --cpp_implementation
>>
>> I get the following error:
>> ...
>>   File "[..]/protobuf-2.6.1/python/setup.py", line 89, in MakeTestSuite
>>     import google.protobuf.pyext.descriptor_cpp2_test as 
>> descriptor_cpp2_test
>> ImportError: No module named descriptor_cpp2_test
>>
>> There is a file name descriptor_cpp2_test in pyext, but the __init__.py 
>> in protobuf directory and the pyext directory is empty. The __init__.py 
>> in the google directory contains: 
>> __import__('pkg_resources').declare_namespace(__name__)
>> So should the other __init__.py in google/protobuf and google/protobuf/pyext 
>> contain the above line as well?
>>
>> Thanks!
>>
>

-- 
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 https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to