googledatalab / pydatalab

Google Datalab Library
Apache License 2.0
194 stars 79 forks source link

pydatalab is breaking pandas-gbq #685

Open QuinRiva opened 6 years ago

QuinRiva commented 6 years ago

Installing pydatalab is breaking pandas-gbq (as well as other dependencies):

It looks like it's rolling back to an older version of google-cloud-bigquery:

mkl-random 1.0.1 requires cython, which is not installed.
mkl-fft 1.0.2 requires cython, which is not installed.
pandas-gbq 0.4.1 has requirement google-cloud-bigquery>=0.29.0, but you'll have google-cloud-bigquery 0.28.0 which is incompatible.
proto-google-cloud-datastore-v1 0.90.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
gapic-google-cloud-datastore-v1 0.15.3 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
proto-google-cloud-logging-v2 0.91.3 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
gapic-google-cloud-logging-v2 0.91.3 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
proto-google-cloud-error-reporting-v1beta1 0.15.3 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
gapic-google-cloud-error-reporting-v1beta1 0.15.3 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
ojarjur commented 6 years ago

Does the issue go away if you explicitly install google-cloud-bigquery==0.29.0 and oauth2client==2.2.0 before installing pydatalab?

QuinRiva commented 5 years ago

So, yes. But the issue is mostly that pydatalab require really old versions of google-cloud-bigquery.

I get this issue when installing datalab:

google-cloud-storage 1.13.2 has requirement google-cloud-core<0.30dev,>=0.29.0, but you'll have google-cloud-core 0.28.1 which is incompatible.
google-cloud-bigquery 1.8.0 has requirement google-cloud-core<0.30dev,>=0.29.0, but you'll have google-cloud-core 0.28.1 which is incompatible.

I'm primarily using datalab to work with bigquery, but many of the newer bigquery function require the newer bigquery package.

QuinRiva commented 5 years ago

Does the issue go away if you explicitly install google-cloud-bigquery==0.29.0 and oauth2client==2.2.0 before installing pydatalab?

Is there any update on this? Most of the google-cloud dependent libraries are incompatible with the current versions of those libraries?