Select to view content in your preferred language

Problem starting ArcGIS Python API ArcGIS Pro 2.1.2

04-24-2018 07:01 AM
New Contributor III

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, 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 (

Hope someone can give me some hints how to start working with python in AG Pro and to get a clean working installation.

4 Replies
New Contributor III

I read all your blog posts.

They are really helpful understanding this new configuration (it seems that I've been working in the stone age with python 2.7).

0 Kudos
Esri Esteemed Contributor

Hi Bart-Jan,

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:

Install and set up | ArcGIS for Developers 

New Contributor III

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?

0 Kudos