Wing IDE and ArcGIS Pro

102
1
Jump to solution
05-13-2021 09:48 AM
NathanHeickLACSD
Occasional Contributor III

I have been using Wing IDE for over 5 years after it was recommended by Esri developers.  I never had any issues with Python 2.7 and ArcMap for years.  Recently, I started writing a script for ArcGIS Pro in Python 3.7.9 and I started having problems.  The following statement will crash the interpreter on a somewhat random basis:

from arcgis.gis import GIS

I can see it loading the modules for the ArcGIS API for Python, around 1700 of them.  It will crash at varying points in the load.  It will take 1 to 4 attempts to get it to succeed and it seems to be moody.  Sometimes it works well, sometimes good, and other times badly.  No matter what, it always works eventually.

Anyone have any experience with this?  My machine has plenty of resources.

 

0 Kudos
1 Solution

Accepted Solutions
NathanHeickLACSD
Occasional Contributor III

Well, the solution was that the antivirus software (Trend Micro) was causing the python.exe process to crash intermittently.  There was no issue with Wing IDE, whose support was fantastic, and I was able to replicate the issue in the Python Command Prompt independent of Wing IDE.

View solution in original post

0 Kudos
1 Reply
NathanHeickLACSD
Occasional Contributor III

Well, the solution was that the antivirus software (Trend Micro) was causing the python.exe process to crash intermittently.  There was no issue with Wing IDE, whose support was fantastic, and I was able to replicate the issue in the Python Command Prompt independent of Wing IDE.

View solution in original post

0 Kudos