AnsweredAssumed Answered

ArcGIS Server Python configuration

Question asked by jesdial on Aug 13, 2017
Latest reply on Aug 14, 2017 by jesdial

Dear all we are experiencing a problem with the configuration of Python and ArcGIS Server. We installed ArcGIS Server 10.5 in a new Windows server. During the installation we installed Python 2.7 in the default folder proposed by the installation wizard. In the same server we installed a transport modelling app (Visum). This application also requires a Python installation, so we installed again Visum (but this time in \\Program Files\Python 27 ). During the installation of this application some registry entries were added, specifically a new key under: HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath

 

This keyword is storing the path to the new Python exe: \\Program Files\Python 27 .From this point, all geoprocesses using Python stopped working. It seems that ArcGIS Server is trying to use the new Python installation, that, of course, has not access to the arcpy library... If I modify the mentioned keyword pointing to the original ArcGIS Server Python installation, the geoprocesses start working again (but scripts launched by this other application fails...)

 

Is there any way to specifically configure ArcGIS Server pointing to its own Python, avoiding the interference of this new windows registry key/value ?

 

Thank you in advance

 

Jesús de Diego

Outcomes