Hi,
I am creating a custom python GP toolbox that relies on other modules I have built.
Based on the Esri recommendation I am have cloned the default server conda env and installed my modules to the cloned env using pip. Everything installs fine and i see the modules listed in the env.
Following the steps here I then use the "condaEnvironmentPath" property to tell server to use my cloned environment that includes the installed modules. However when i try to start the service i get:
"Geoprocessing Service initialization failed"
"The toolbox did not load"
"Failed to construct instance of service"
If however I use the main non cloned conda environment and install my modules there, everything works fine, the service starts and I am able to call and use the GP service via my web application as expected.
It only fails it I try to use the cloned env and the updated "condaEnvironmentPath" property in the service details.
I would like to follow the Esri recommended path of not touching the default env but this environment per service approach does not appear to work for me. Has anyone had any success with this?
thanks
mark