HOW TO

Fix an ArcGIS Server machine with a corrupted or missing Python27 file

Last Published: April 27, 2023

Summary

In instances where the Python27 file is corrupted or missing from an ArcGIS Server machine, reinstall the Python27 file, or change the directory. This article describes the steps to reinstall the Python27 file or change the directory using the ArcGIS Server installation setup file.

Note:
To check registry keys and determine where the Python27 paths are saved on the system, launch Registry Editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7. The Python27 paths can be found in the InstallPath and PythonPath folders.

While the paths may be registered in the registry, the Python27 file may not be in the designated location if it has been removed or is missing.

The Python27 InstallPath folder location.

The Python27 PythonPath folder location.
Note:
The workflow in this article only applies to ArcGIS Enterprise versions 10.9.x and earlier, as ArcMap-based runtime has been deprecated and is no longer supported in ArcGIS Enterprise versions 11.0 and later. Refer to ArcGIS Enterprise: Retirement notices for more information.

Procedure

  1. Run the ArcGIS Server installation file on the ArcGIS Server machine.
  2. On the ArcGIS Server Setup window, select Modify and click Next.
The Modify option in the ArcGIS Server Setup window.
  1. Click the ArcMap Runtime Support drop-down button, select This feature will not be available and click Next.
The 'Feature will not be available' option in the ArcGIS Server Setup window.
  1. Click Install to essentially uninstall Python27 from the system.
  2. Run the ArcGIS Server installation file once more.
  3. On the ArcGIS Server Setup window, select Modify and click Next.
  4. Click the ArcMap Runtime Support drop-down button, select This feature, and all subfeatures, will be installed on local hard drive and click Next.
The 'This feature, and all subfeatures, will be installed on local hard drive' option in the ArcGIS Server Setup window.
  1. Specify the Python27 install path directory and click Install.
  2. Click Finish to close the window.
Note:
Ensure the ArcGIS Server account has appropriate permissions to the new Python27 directory. Refer to ArcGIS Enterprise: ArcGIS Server account for more information on the ArcGIS Server account.

Article ID: 000028523

Software:
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options