Select to view content in your preferred language

Unable to specify a Python environment for a single geoprocessing service

509
0
08-31-2022 01:24 AM
MariamJamilah
Occasional Contributor

Hello,

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:

MariamJamilah_1-1661934119436.png

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