Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest bq (2.0.14) not compatible with latest gsutil (3.34) #17

Open
GoogleCodeExporter opened this issue Dec 14, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

It looks like bq (bigquery 2.0.14) requires google-api-python-client 1.0 
whereas gsutil (3.34) requires >=  google-api-python-client >= 1.1

This is a problem since both bq and gsutil are commonly used together (e.g. 
https://docs.google.com/document/d/15TZ7p-NSWWC3ZpvDXba0sM2W9X_8h8pn7q2ha0GicHM/
edit)


1. Run the following in terminal (OS X Lion 10.8.4):

pip install bigquery
pip install gsutil
bq

results in an error:
Traceback (most recent call last):
  File "/usr/local/bin/bq", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2607, in <module>
    parse_requirements(__requires__), Environment()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: google-api-python-client==1.0

2. Uninstall and installing bigquery again fix it but gsutil then becomes 
broken:

pip uninstall bigquery
pip install bigquery
gsutil

results in:
Traceback (most recent call last):
  File "/usr/local/bin/gsutil", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2607, in <module>
    parse_requirements(__requires__), Environment()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: google-api-python-client>=1.1


Original issue reported on code.google.com by [email protected] on 10 Aug 2013 at 4:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant