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 screenshot. Notice that NumPy and pandas are also installed, two libraries from the SciPy stack that are used for data science. The API itself is the first package of the list, called arcgis:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset