I've seen documentation that python 2.x and 3.x versions come with enterprise, but only see the the 2.7 folder installed on the server. Can I make it run 3.x? Do I need to run 2.x to publish with ArcGIS desktop? Will this affect publishing with Pro?
It absolutely is NOT the case. The Python 3.x interpreter that is installed with ArcGIS Server is licensed via ArcGIS Server. It is super easy to test yourself, just open up the Python 3.x intepreter installed with ArcGIS Server, type 'import arcpy' and you will see it loads.
I don't have time at the moment to answer all of your questions, but Python 2.x and 3.x are both installed. Python 3.x is installed:
%AGSSERVER%\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3
Thanks for your reply, it was helpful! I have since spoken with someone from support on another issue and I believe gotten answers to some of my other questions.
I believe even though the libraries are there, I would need to have Pro installed on the server machine in order to have the license required to run arcpy 3 scripts. If that isn’t the case I would like to hear about it.
I am interested in using the scripts to set up tasks on the server machine.
Yes, I was able to figure it out and thank you for your reply Joshua! The way I managed to get it going was to run proenv.bat opening a cmd window then entering idle. Also, had to run the bat file as administrator to be able to edit scripts and save them as well as run them. Was glad to figure out the license didn't depend on Pro being installed and believe there is another script called propy.bat that you can use to run python 3 scripts as windows tasks. Saw that in the same folder you mentioned in your initial post.
I'm not sure I'd call it super easy to figure out on your own. I still haven't found a way to run the idle window for python 3 without have a cmd window open first. Can you confirm that all the same libraries are available with Enterprise Server as would be with Pro installed? Wondering if I may have misunderstood the other person I talked to and there might be some libraries specific to a Pro license?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.