ibroad

Best practices for geoprocessing tools?

Discussion created by ibroad on Jun 25, 2019
Latest reply on Jun 25, 2019 by ahoque-esristaff

We have a 10.6 Server / Portal setup, and I need to publish some geoprocessing tools. 

 

I will be publishing these with ArcMap / ArcCatalog 10.6.

 

I need to use third party libraries, like ReportLab.

 

ArcMap uses the 32-bit Python install, and Server uses the 64-bit Python install. In order to publish the geoprocessing tool the script needs to work, so I need to install these third party libraries in the 32-bit Python, and then when I publish it the server needs to be able to run the script, so I need to install these third party libraries in the 64-bit version too.

 

Is this just how it is? Is there a better way to do this?

 

What I really want is a way to use a conda / virtual environment. Is there a way to have a geoprocessing tool use a specific environment?

Outcomes