Error using geemap in ArcPy "AttributeError: module 'ee.data' has no attribute '_credentials" #2319
-
|
I set up a python conda environment in ArcGIS to download Landsat collections using Google Earth Engine and I am running into this issue just when calling
I get this error `Cell In[19], line 3 File ~\AppData\Local\ESRI\conda\envs\max_arcpy_env\Lib\site-packages\geemap\geemap.py:158, in Map.init(self, **kwargs) File ~\AppData\Local\ESRI\conda\envs\max_arcpy_env\Lib\site-packages\geemap\core.py:753, in Map.init(self, **kwargs) File ~\AppData\Local\ESRI\conda\envs\max_arcpy_env\Lib\site-packages\geemap\coreutils.py:75, in ee_initialize(token_name, auth_mode, auth_args, user_agent_prefix, project, **kwargs) AttributeError: module 'ee.data' has no attribute '_credentials'` It seems like an authentication error, but my other GEE code runs, and when I pass ee.Authorize() it comes back true. Not sure what the problem could be! Thanks for reading. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
|
I'm having the same problem. I'm using a Jupyter Notebook, with a conda environment and updated packages. ee version 1.6.12 .. 'll follow along to see if I can find a solution. |
Beta Was this translation helpful? Give feedback.
-
|
I'm also having a similar problem. I've created new environments as well. Up until this point, geemap was working fine. |
Beta Was this translation helpful? Give feedback.
-
|
same issue here! GEE was working in an older environment, but I did a fresh install and now ee.Authenticate() returns "True", and the ee.Initialize("project_name") seems to run, but I get the same error when I try to create a map instance: m = geemap.Map() ..... |
Beta Was this translation helpful? Give feedback.
-
|
Try Map = geemap.Map(ee_initialize=False)
…On Tue, Oct 21, 2025 at 7:48 AM Joseph Shea ***@***.***> wrote:
same issue here! GEE was working in an older environment, but I did a
fresh install and now ee.Authenticate() returns "True", and the
ee.Initialize("project_name") seems to run, but I get the same error when I
try to create a map instance:
AttributeError: module 'ee.data' has no attribute '_credentials'
—
Reply to this email directly, view it on GitHub
<#2319 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE5J3HQKX6LSMSNDAO3DBIL3YVYERAVCNFSM6AAAAACJGYNPXSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINZTGQ2DIOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Try updating the ee package using |
Beta Was this translation helpful? Give feedback.
-
|
The latest couple of geemap and Earth Engine client library releases were out of sync. To fix your environments, upgrade geemap to 0.36.6 or greater, which should force the upgrade of earthengine-api to >= 1.6.12 to get them back in sync. See #2321 For pip:
For conda (conda-like):
|
Beta Was this translation helpful? Give feedback.
The latest couple of geemap and Earth Engine client library releases were out of sync. To fix your environments, upgrade geemap to 0.36.6 or greater, which should force the upgrade of earthengine-api to >= 1.6.12 to get them back in sync.
See #2321
For pip:
pip install --upgrade geemap==0.36.6For conda (conda-like):
conda install -c conda-forge geemap=0.36.6