Skip to content Skip to sidebar Skip to footer

How To Install Google.cloud Automl_v1beta1 For Python Using Anaconda?

Google Cloud AutoML has python example code for detection, but I have error when importing these modules from google.cloud import automl_v1beta1 from google.cloud.automl_v1beta1.pr

Solution 1:

I just solved it and it's a very simple problem. I reinstall google-cloud-automl using below command and works.

pip.exe install google-cloud-automl

Why it didn't work last time I tried it? It's because I didn't run anaconda prompt as administrator. The reason is when installing google-cloud-automl it will uninstall deprecated projects like future, like this :

Foundexistinginstallation: futures3.1.1DEPRECATION: Uninstallingadistutilsinstalledproject (futures) hasbeendeprecatedandwillberemovedinafutureversion. Thisisduetothefactthatuninstallingadistutilsprojectwillonlypartiallyuninstalltheproject.
    Uninstallingfutures-3.1.1:
      Successfullyuninstalledfutures-3.1.1

Future will be only successfully removed if I run the command as administrator. Last time it thrown authentication error that I didn't realize, so the re-installation process stopped. Hope it will help some people in the future.

Solution 2:

You can install packages inside the Jupiter notebook cell, I hope it will work for you. enter image description here

Post a Comment for "How To Install Google.cloud Automl_v1beta1 For Python Using Anaconda?"