I'm learning Google Cloud Vision API, but facing some issues. I have completely repeated all the steps from the 'Getting Started' Guide.
- download/install google cloud SDK
- activate login credentials using gcloud
- Set the environment variable GOOGLE_APPLICATION_CREDENTIALS
- Install the client library
After that I ran this code and got this error when compiling:
..\cloud.google.com\go\longrunning\autogen\operations_client.go:166:54: cannot use connPool (type "google.golang.org/api/internal".ConnPool) as type *"google.golang.org/grpc".ClientConn in argument to longrunning.NewOperationsClient
Compilation finished with exit code 2
I repeated all the steps over and over and still get this error. Windows 10 is installed on my pc with the latest software updates. I have NOT changed the code from the tutorial.
Can anyone please tell me why I'm getting this error?
go version? - Nick_Khgo version go1.15.3 windows/amd64- DonPepemon