I have installed arcgis 2.4.0, but why is map module missing?
just running
from arcgis.map import Map
ModuleNotFoundError: No module named 'arcgis.map'
And checking the package in lib, no map folder is found.
What's wrong is this.
Solved! Go to Solution.
It is part of the arcgis-mapping package.
If you have already installed argis 2.4.0, then:
conda install -c esri arcgis-mapping
Or, if you are starting from scratch, in an empty conda environment, then:
conda install -c esri arcgis=2.4.0 arcgis-mapping
from arcgis.map import Map
dir(Map)
Out[2]:
['__add__',
'__annotations__',
'__class__',
'__copy__',
'__deepcopy__',
'__del__',
'__delattr__',
'__dict__',
'__dir__',
'__doc
If you installed it in a cloned environment, perhaps you didn't activate that environment first
I'm having the same problem. I installed arcgis using conda:
conda install esri::arcgis
When I attempt to import I get:
>>> from arcgis.map import Map
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'arcgis.map'
When I import arcgis and it shows that it is version 2.4.0. I am also able to import arcgis.mapping.
It is part of the arcgis-mapping package.
If you have already installed argis 2.4.0, then:
conda install -c esri arcgis-mapping
Or, if you are starting from scratch, in an empty conda environment, then:
conda install -c esri arcgis=2.4.0 arcgis-mapping
Work for me too.
install also arcgis-mapping
pip install arcgis-mapping
Thanks.
Hi @PeterKnoop did you happen to see my installation issue over here? Any thoughts?
@ZacharyHart replied on the other thread
That worked in my case. Thanks Peter!