Multiple Python environments are available on the Amazon Web Services (AWS) Marketplace Windows Server image for ArcGIS.
Portal, Pro, and Server (in the screenshot below) have Python.
Multiple Python environments are available on the Amazon Web Services (AWS) Marketplace Windows Server image for ArcGIS.
Portal, Pro, and Server (in the screenshot below) have Python.
If you activated ArcGIS Pro, you need to use the Python under Pro/ directory to avoid license error.
cd bin/Python/envs/arcgispro-py3/
.\python <your_script>
Note: Here's the typical error that you will encounter when the wrong Python code is used:
File "c:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgisscripting\__init__.py", line 119, in <module> from ._arcgisscripting import * RuntimeError: The software is not authorized for use.