I have a Python3/ArcPy script that must be moved from Windows to be run on a Linux system. From what I understand the only option is to run it on ArcGIS Server. So I had a system set with with Ubuntu and Arcgis Server 11 (putty/ssh access only). Now I'm trying to figure out how to run my script. Reading the documentation a number of questions came up.
- I thought a good first step would be to start an interactive Python session from the command line, but I can't find where the interpreter is installed. How can I do that?
- Must I install conda and create and activate a new environment, or is there already a base Python environment created in the installation?
- Must I install arcgis-server-py3?
- Does all of this really have to be done as the user that installed the ArcGIS Server? I tried to run <arcgis_server_installation_directory>/arcgis/server/tools/python3 and it failed for this reason
- Would it be better to use a python 3.8 environment which is already installed on this system instead of the one installed with ArcGIS Server?