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 MariamJamilah_1-1661934119436.png](https://community.esri.com/t5/image/serverpage/image-id/49926i5839BE489252B898/image-size/medium?v=v2&px=400)
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!