Getting started with ArcGIS API for Python, and something seems amiss. I was hoping to simply get to the point where I could see a simple map and feel a nice sense of progress, but, while I get no error messages when I try to display the map, I also get no map.
This is probably something VERY simple, but I haven't been able to figure out under my own power. See image, please.
Thank you,
Randy McGregor
I assume you've tried it without the 'oops' part?
The next line after the OOPS corrects it.
Hmmmm, the following works for me:
from arcgis.gis import GIS
gis = GIS()
map = gis.map("Paris")
map
I am revisiting this. I have tried doing this in the sandbox, and I got the following. Does this provide any clues as to what the issue might be?
Thanks
Thanks for checking. I'm missing something. I just don't know what...
It's probably some difference in our environments. You're running on Python 3 kernel?
Hi Randy,
What version of the api do you have installed?
You can check with the following code
import arcgis print(__arcgis.version__)
The syntax is print(arcgis.__version__)
Thanks for the correction Joshua