I'm starting to try to understand how Python works with ArcGIS Pro, which is completely different then in AG10x. My objective is to convert several of my AG 10x script to AG Pro.
I've been reading the basic concepts on https://developers.arcgis.com/python/guide/install-and-set-up/#Using-the-API, http://pro.arcgis.com/en/pro-app/arcpy/get-started/ and some blog posts on this forum.
It seemed to me that the first thing to do is start to execute some of the example-code on jupyter.
However when trying the basic code:
from arcgis.gis import GIS
my_gis = GIS()
I get a socket error (“'A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied', None, 10057, None),)”)
I'm behind a proxy, but have the "http_proxy" variable defined.
It seems to me that my AG Pro installation isn’t correct. Right now I have AG Pro 2.1.2, I always followed the standard upgrade steps (started with 1.2).
One of the other questions I have is about anaconda. I understood conda is installed with AG Pro. Is Anaconda also installed when installing AG Pro? The link on the help gets you to a non-responsive website (https://www.anaconda.com/download/#windows)
Hope someone can give me some hints how to start working with python in AG Pro and to get a clean working installation.
you don't start python from your arcmap locale...
Some links other than those in the help files
otherwise check the help files for installation and other information
I always verify that I'm using the latest version of conda when I run into issues. I recommend doing this by running the command 'conda upgrade -c esri arcgis' in the Python command prompt. See the following link:
It might be some kind of proxy server problem, which is blocking Anaconda. Since on my mobile phone I can get to the download page.
Anyone can confirm-me that ANACONDA has to be installed separately?