Publishing a Pro Python toolbox to ArcGIS Server 10.8.1

872
2
Jump to solution
11-12-2020 08:48 AM
Jay_Gregory
Regular 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
GEOINT_ENGINEER
Esri Contributor

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

Take a closer look at Deploying custom python packages 

View solution in original post

Tags (2)
2 Replies
GEOINT_ENGINEER
Esri Contributor

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

Take a closer look at Deploying custom python packages 

Tags (2)
Jay_Gregory
Regular Contributor

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

0 Kudos