AnsweredAssumed Answered

Pro upgrade broke python

Question asked by tom.rippetoe on Oct 25, 2017
Latest reply on Nov 28, 2017 by TLongSUGF

I have been running Pro 1.4 for a while. I was able to run my python scripts from a command line (using propy) as well as other IDEs like Visual Studio Code.  Yesterday I upgraded to Pro 2.0.1 (I used the Upgrade process of the ArcGIS Pro UI). Now i cannot run my python scripts from the command line nor from my IDEs.  The error message is 

'python.exe' is not recognized as an internal or external command, operable program or batch file.

When i open the Python view in ArcGIS Pro, i see the following error message:

Failed to Initialize Python Interpreter

When i open the Python Package Manager in ArcGIS Pro, it shows that my project is using the arcgispro-py3 environment, i can see many installed packages, etc.

 

My path variable has the following settings at the end of the path string:

...;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts;C:\Program Files\ArcGIS\Pro\bin\Python\Scripts;C:\Program Files\ArcGIS\Pro\bin\Python

 

Any thoughts or suggestions on what i can do to get my python scripts running again?

 

Thanks.

Outcomes