Select to view content in your preferred language

Publishing a Pro Python toolbox to ArcGIS Server 10.8.1

2217
2
Jump to solution
11-12-2020 08:48 AM
Jay_Gregory
Frequent Contributor

My understanding is that Pro using Python 3.  So if I were to create a script toolbox in ArcGIS Pro, I would be using Python 3 and the packages installed with the default arcgispro-py3 conda environment.  

So if I tried to publish this script toolbox to ArcGIS Server 10.8.1 to expose the tool as a geoprocessing service, and since Server uses Python 2.7, will executing this geoprocessing service not work?  Do I need to still be writing script tools in ArcMap in order to expose them as geoprocessing services?

 

Thanks!

0 Kudos
1 Solution

Accepted Solutions
Jan-Tschada
Esri Contributor

ArcGIS Server is hosting a compatible ArcGIS Pro Python 3.x environment.

Take a closer look at Deploying custom python packages 

Product Manager
Developers and Location Services
Germany and Switzerland

View solution in original post

Tags (2)
2 Replies
Jan-Tschada
Esri Contributor

ArcGIS Server is hosting a compatible ArcGIS Pro Python 3.x environment.

Take a closer look at Deploying custom python packages 

Product Manager
Developers and Location Services
Germany and Switzerland
Tags (2)
Jay_Gregory
Frequent Contributor

Thank you!  I was not aware of this - very helpful.  

0 Kudos