The failed ee.Initialize() when I use geemap on Colab #1848
-
Today, when I use geemap on Colab, the ee.Initialize() failed and report the error from Google Colab. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Please read the error message and follow the instructions |
Beta Was this translation helpful? Give feedback.
-
Make sure you check the boxes when authenticating Earth Engine. |
Beta Was this translation helpful? Give feedback.
-
I was confused because I got the same error. So, I ran it as above and was able to get GEE tokens. I hope this helps. thank you |
Beta Was this translation helpful? Give feedback.
-
earthengine-api v0.1.383 include changes for authentication and initialization (see changelog and updated guide). You'll need to add the project you'd like to initialize with, e.g.:
'my-project-id' is just a placeholder, you need to replace it with whatever Google Cloud project you'd like to associated with running the GEE parts of the notebook. If you need to set up a cloud project that is GEE enabled see this guide. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have also encountered the same issue with |
Beta Was this translation helpful? Give feedback.
earthengine-api v0.1.383 include changes for authentication and initialization (see changelog and updated guide).
You'll need to add the project you'd like to initialize with, e.g.:
ee.Initialize(project='my-project-id')
'my-project-id' is just a placeholder, you need to replace it with whatever Google Cloud project you'd like to associated with running the GEE parts of the notebook. If you need to set up a cloud project that is GEE enabled see this guide.