Running the script creates and output similar to the following: The script downloads all the dependencies from online channel and stores it locally. Then, run the attached download_dependencies.py script as shown below: Downloading dependenciesĭownload the accompanying Python script and text file to the same location. The new environment is now active and ready. Run the following commands in your terminal on the root environment to install the required conda-build and requests packages: Setting up an environment to run the download Python script Download these Supporting files before beginning the steps below. Please note that it is necessary to have a computer with an internet connection, Anaconda installed, and a Python 3.5 shell with the requests package installed.Īccompanying this knowledge base article are two files, arcgis_v1_dependencies (a text file listing the dependencies for the ArcGIS Python API) and download_dependencies, a Python script for downloading dependencies from the anaconda channel. Users may opt to download and host any number of additional Python packages in that channel.This article describes the steps to create an offline Conda channel for the ArcGIS Python API. The local channel would include a finite set of dependencies the API requires. For customers who want to install the API on non-networked computers or on workstations that are in an isolated network, the install instructions are provided in the Offline install section of the guide.For advanced users who want to use the API from Miniconda (say, from ArcGIS Pro’s Python command prompt, which is powered by Miniconda) in disconnected environments, the recommended path is to create a local Conda channel in their premises and to install the API from that channel. The recommended way to install this API is outlined in the ArcGIS Python API Guide. The ArcGIS Python API is distributed via Conda- a popular package and environment management system for Python developers.
0 Comments
Leave a Reply. |