Installing the API

The API can be installed in different ways. The easiest way is to use conda. If this is your first install of the API, you might want to create a separate virtual environment through Anaconda3 for the API because of its many dependencies. It is important that you install the latest available version of the API, as it will also ensure you have the latest available conda version installed and the API’s dependencies. To install the API using conda, run the following command in a terminal:

conda install -c esri arcgis

The -c in the command refers to a channel (which is an online repository). When running this command in a terminal, you will be asked to install a list of dependencies. A partial list is displayed in the following ...

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.