HOW TO
In some instances, the Python installation in ArcGIS Server may become corrupted, typically when attempting to import modules from the ArcGIS Server’s Python environment. The Python installation may become corrupted due to improper manual modification of the Python environment, improper system updates, improper ArcGIS updates, antivirus interference, deletion or movement of key files, or incomplete installations or uninstallations of the Python environment.
This article describes the workflow for repairing Python without uninstalling ArcGIS Server.
Note: The workflow in this article only applies to ArcGIS Enterprise versions 11.x and above. For ArcGIS Enterprise versions 10.9.x and earlier, refer to How To: Fix an ArcGIS Server machine with a corrupted or missing Python27 file for instructions.
There are various reasons for file corruption, including running out of disk space, incomplete upgrades, and antivirus scans.
C:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin
Article ID: 000033008
Get help from ArcGIS experts
Download the Esri Support App