-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: gcloud command not found. Please ensure that gcloud is installed. #145
Comments
Hi @haoweiduan This is a new requirement in the GEE API, you need to run |
|
have you created your 'my-project'? check the links and docs |
When I executed the code, I replaced my project name with “my-project” During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
I think I fixed it but we have not released it yet, please reinstall the plugin using the artifact described in #133 (comment) Please let me know if that fixes your error |
I have reinstalled the plugin,when I |
have you restarted Qgis after installing the plugin? (that is necessary) |
Of course, I tried to restart it three times. |
I found an error in the Artifacts zip, one second... |
@haoweiduan The solution is waiting in a PR, meanwhile the easiest method is open the zip, change the directory name "extlibs_linux" to "extlibs_windows", zip it again and install it |
I have reinstall
It works, that's cool. Thanks a lot! |
After installing the gcloud SDK, I ran the following command and got a "ERROR: gcloud command not found. Please ensure that gcloud is installed."error.
import ee ee.Authenticate() service_account = '[email protected]' credentials = ee.ServiceAccountCredentials(service_account, './my-project-1111cceb213b.json') ee.Initialize(credentials)
When I comment out "ee.Authenticate()" and run
print(ee.String('Hello World from EE!').getInfo())
, I got "ee.ee_exception.EEException: Project 'projects/xxx' not found or deleted."but the same code works in python geemap, I'm confused where the problem is.
(windows11 QGIS3.34.5 Python 3.9 Google Earth Engine 0.0.6)
The text was updated successfully, but these errors were encountered: