!pip install google-cloud-automl
from google.cloud import automl_v1beta1
ContextualVersionConflict: (google-api-core 0.1.4 (/usr/local/envs/py2env/lib/python2.7/site-packages), Requirement.parse('google-api-core[grpc]<2.0.0dev,>=1.1.0'), set(['google-cloud-automl']))
!pip install -U google-api-core
ImportErrorTraceback (most recent call last)
<ipython-input-3-d166b6559e4e> in <module>() 1 get_ipython().system(u'pip install -U google-api-core') 2 get_ipython().system(u'pip install google-cloud-automl') ----> 3 from google.cloud import automl_v1beta1 /usr/local/envs/py2env/lib/python2.7/site-packages/google/cloud/automl_v1beta1/__init__.py in <module>() 15 from __future__ import absolute_import 16 ---> 17 from google.cloud.automl_v1beta1 import types 18 from google.cloud.automl_v1beta1.gapic import auto_ml_client 19 from google.cloud.automl_v1beta1.gapic import enums ImportError: cannot import name types
1 get_ipython().system(u'pip install -U google-api-core')
2 get_ipython().system(u'pip install google-cloud-automl')
----> 3 from google.cloud import automl_v1beta1 /usr/local/envs/py2env/lib/python2.7/site-packages/google/cloud/automl_v1beta1/__init__.py in <module>() 15 from __future__ import absolute_import 16 ---> 17 from google.cloud.automl_v1beta1 import types 18 from google.cloud.automl_v1beta1.gapic import auto_ml_client 19 from google.cloud.automl_v1beta1.gapic import enums ImportError: cannot import name types /usr/local/envs/py2env/lib/python2.7/site-packages/google/cloud/automl_v1beta1/__init__.py in <module>() 15 from __future__ import absolute_import 16 ---> 17 from google.cloud.automl_v1beta1 import types 18 from google.cloud.automl_v1beta1.gapic import auto_ml_client 19 from google.cloud.automl_v1beta1.gapic import enums ImportError: cannot import name types
15 from __future__ import absolute_import
16
---> 17 from google.cloud.automl_v1beta1 import types 18 from google.cloud.automl_v1beta1.gapic import auto_ml_client 19 from google.cloud.automl_v1beta1.gapic import enums ImportError: cannot import name types
18 from google.cloud.automl_v1beta1.gapic import auto_ml_client
19 from google.cloud.automl_v1beta1.gapic import enums ImportError: cannot import name types
Remove all `gapic-google-cloud-{api-name}-{api-version}` and `proto-google-cloud-{api-name}-{api-version}` that are currently installed, and install `google-cloud-{api-name}` instead.
--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-dis...@googlegroups.com.
To post to this group, send email to cloud-visi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/bf276869-4c6f-4926-b7e5-7f616070a6fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
google-cloud-bigquery==0.23.0 google-cloud-core==0.28.1 google-cloud-dataflow==2.0.0 google-cloud-monitoring==0.28.0 proto-google-cloud-datastore-v1==0.90.0
so the culprit would be the last line?
thanks,
pichai
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-vision-discuss+unsub...@googlegroups.com.