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:
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!
Hi @MariamJamilah :
We also encountered this issue. After days of investigation, it's a bug. The custom Python environment configuration for a geoprocessing service is not respected, and the default Python environment is used instead. Please see the link below:
https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNzMzMg==
Rose