laptop and a wrench

Bug

The conda environment included with ArcGIS Server 10.5.1 fails to run and returns the error message "Failed to execute script main".

Last Published: May 12, 2020 ArcGIS GIS Server
Bug ID Number BUG-000130689
SubmittedMay 7, 2020
Last ModifiedSeptember 3, 2025
Applies toArcGIS GIS Server
Version found10.5.1
Operating SystemWindows OS
Operating System VersionN/A
StatusWill Not Be Addressed

Additional Information

Later versions of ArcGIS Enterprise do not produce this error, as noted in the steps to reproduce. Because ArcGIS Enterprise 10.5.1 is no longer supported, this issue is not addressed in the reported version. Please contact Esri Technical Support if further issues persist in supported versions of the software.

Workaround

To clone the environment for deploying custom Python packages, replace the conda.exe file in <install>\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\Scripts with the conda.exe file from ArcGIS Enterprise 10.6.1 or later.

Steps to Reproduce

Bug ID: BUG-000130689

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options