Select to view content in your preferred language

Python is Not Installed Error after Upgrading Pro

312
3
12-17-2024 06:42 AM
Labels (1)
emoreno
Regular Contributor

Hi ESRI Community,

We recently upgraded our Pro from 2.9 to 3.4 on our server not knowing the incompatibility it had with our Enterprise version (10.9.1). We began experiencing issues such as an error when trying to publish to our Portal, which states "Python is not installed". Additionally, we see this error when trying to create a hosted feature layer from a template in the Portal. We downgraded to 3.1 VIA and uninstall and reinstall of Pro, and have worked with tech support to solve the issue through the following means:

-Renaming python folder to Python_old and repairing the ArcGIS Server

-Removing folders related to any past installations of Enterprise aside from our current version, and repairing the ArcGIS Server

-Attempted publishing from both cloned and non cloned environments, both returning the same error

Unfortunately, rolling back to a previous deployment would not be an option as we have dependencies specific to our current deployment of Enterprise. The hosting server machine does have the C:\Python27 folder, the ArcGIS service account has full permissions to this directory, and the python entries are correct and show the path at C:\Python27 in regedit. All our data stores are successfully validating, including the relational datastore. We can't publish a shapefile through the Portal UI though, as we get the error that states "Python is not Installed". Existing feature layers do still (fortunately) function, but publishing any other service types (from portal UI or ArcPro) all give us the same Python is not Installed error.

What is confusing is that even after stating that a layer has failed to publish due to the Python error, we end up being able to see these test publishes in our Portal. These have the data we're publishing in them and seem to be working normally. 

emoreno_0-1734445318617.png

 

We have worked with Premium support and completed the disaster recovery workflow to no avail. We also attempted to publish a service definition in the server manager itself, which failed with the python error. Any other ideas as to what this could be, or workflows we can test? Any advice is appreciated, thank you!

0 Kudos
3 Replies
MyEthiopia
Regular Contributor

.

0 Kudos
TimoT
by
Frequent Contributor

.

0 Kudos
TimoT
by
Frequent Contributor

Do you have any ArcGIS Pro extensions such as data interoperability for ArcGIS Pro, or desktop applications like ArcGIS CityEngine installed on the same machine as your ArcGIS Server?

As I noted in your previous thread, it isn't a good idea to install desktop applications on the same machine as your ArcGIS Server. These extensions/apps in particular can cause weird and inconsistent behaviors with publishing for your ArcGIS Server

0 Kudos