Skip to main content

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.

screenshot of python code

Step-by-Step Guide

If you activated ArcGIS Pro, you need to use the Python under Pro/ directory to avoid license error.

  1. cd bin/Python/envs/arcgispro-py3/
  2. Run .\python <your_script>
screenshot of Python code, second image on page

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.

Details

Last Updated

Published