yoheimuta / google-bigquery-tools

Automatically exported from code.google.com/p/google-bigquery-tools
0 stars 4 forks source link

error: Installed distribution httplib2 0.7.2 conflicts with requirement httplib2>=0.7.4 under Python 2.6.5 #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to install BigQuery 2.0.6 with the command sudo python setup.py 
install

What is the expected output? What do you see instead?
Installation fails with the error message:
error: Installed distribution httplib2 0.7.2 conflicts with requirement 
httplib2>=0.7.4

What version of the product are you using? On what operating system?
2.0.6.  linux goobuntu 10.04 and Python 2.6.5

Please provide any additional information below.
The documentation says that Python 2.6.5 is acceptable.  It should say that 
python 2.6.5 is acceptable but you have to update httplib to version 0.7.4 
first.

To upgrade to version 0.7.4, download it from 
http://pypi.python.org/pypi/httplib2/ and install it with the command
sudo python setup install

That will install httplib2 0.7.4 into 
/usr/local/lib/python2.6/dist-packages/httplib2-0.7.4-py2.6.egg.  Then 
installing the BigQUery command line tool will work properly.

The documentation should be updated to show this.

Original issue reported on code.google.com by jeffsilverman@google.com on 24 Jul 2012 at 8:36

GoogleCodeExporter commented 8 years ago
I am reading from 
http://code.google.com/p/google-bigquery-tools/source/browse/bq/README.txt

Original comment by jeffsilverman@google.com on 24 Jul 2012 at 8:37

GoogleCodeExporter commented 8 years ago
Do you happen to have the full install log still available? Setuptools should 
have upgraded httplib2 for you when it noticed the version requirement. We can 
add the extra version information, but the problem here is that it isn't our 
requirement -- it's a transitive dependency we're picking up from 
google-api-python-client. I'd like to find out what went on, so that we can 
figure out why setuptools wasn't working as advertised. (It could also be a 
distribute vs. setuptools issue.)

Original comment by craigcitro@google.com on 25 Jul 2012 at 9:02

GoogleCodeExporter commented 8 years ago
I'm sorry, I don't.

However, what I will do is do the installation on another machine that I
have.  Give me a couple of hours, please.

Original comment by jeffsilverman@google.com on 25 Jul 2012 at 4:20

GoogleCodeExporter commented 8 years ago
I have attached the installation log showing the installation error.  Do
you want me to show you the remediation process I went through?

Jeff Silverman

Original comment by jeffsilverman@google.com on 25 Jul 2012 at 5:15

GoogleCodeExporter commented 8 years ago
Update for anyone reading this issue: the problem is that easy_install does not 
transitively update our dependencies.

For example, if you get this error about an old version of httplib2 (a 
dependency of google-api-python-client, not a dependency of bigquery), then you 
can fix the problem by "easy_install -U httplib2" or "easy_install -U 
google-api-python-client".

We're investigating whether it's possible to ask easy_install to update the 
transitive closure of all our dependencies. Until that time, manually fixing 
these issues as they crop up will be required.

Original comment by mshel...@google.com on 5 Oct 2012 at 10:36