Unable to specify a Python environment for a single geoprocessing service

08-31-2022 01:24 AM
New Contributor III


I am trying to clone the python environment on ArcGIS Server (10.9), add custom libraries to it and finally specify the environment to a single gp service.

I have referred to the following link to achieve this (https://enterprise.arcgis.com/en/server/latest/publish-services/windows/deploying-custom-python-pack...

However, when I change the "condaEnvironmentPath" to the specified path (eg: "C:\\Program Files\\ArcGIS\\Server\\framework\\runtime\\ArcGIS\\bin\\Python\\envs\\deploy"), it automatically changes the initial part of the path to "${AGSSEREVER}". Please refer to the image below:


Due to this, I feel the gp service is not picking up the right environment and hence when I run the gp service, I get an error stating the custom libraries/modules are not found.

Please advise on how to proceed further and resolve this issue.

Thanks in advance!

0 Kudos
0 Replies