Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Esri/arcgis-python-api
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidJVitale committed Mar 6, 2020
2 parents 8022f55 + 84bb965 commit 8bd57b2
Show file tree
Hide file tree
Showing 2 changed files with 1,031 additions and 2 deletions.
84 changes: 82 additions & 2 deletions guide/01-getting-started/install-and-set-up.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
" - [Install Using Anaconda for Python Distribution](#Install-using-Anaconda-for-Python-Distribution)\n",
" - [Install Using pip or pipenv](#Install-using-pipenv-or-pip)\n",
" - [Install without Dependencies](#Install-without-Dependencies)\n",
" - [Install deep learning dependencies for arcgis.learn module](#Install-deep-learning-dependencies-for-arcgis.learn-module)\n",
" - [Install using conda (Anaconda)](#Install-using-conda-(Anaconda))\n",
" - [Install using the Python Command Prompt (ArcGIS Pro 2.5)](#Install-using-the-Python-Command-Prompt-(ArcGIS-Pro-2.5)) \n",
" - [Upgrade the `arcgis` package](#Upgrade-the-arcgis-package)\n",
" - [ArcGIS Pro 2.2](#ArcGIS-Pro-2.2)\n",
" - [ArcGIS Pro 2.1](#ArcGIS-Pro-2.1)\n",
Expand Down Expand Up @@ -97,6 +100,7 @@
" * Enter the following at the prompt:\n",
" ```python\n",
" conda install -c esri arcgis\n",
" \n",
" ```\n",
"\n",
"![python command prompt](../../static/img/python_command_prompt.png)\n",
Expand Down Expand Up @@ -151,9 +155,85 @@
"\n",
"Both ```conda install -c esri arcgis``` and ```pip install arcgis``` will install all of the dependencies outlined in the [system requirements](https://developers.arcgis.com/python/guide/system-requirements/) section. However, the API can function in a 'stripped down' state with only the ```six``` dependency. This means you can manually manage the dependencies on your system if you don't want to use every feature of the API. \n",
"\n",
"To install the API with no dependencies, simply add the ```--no-deps``` flag to any install command, i.e. ```conda install -c esri arcgis --no-deps``` or ```pip install arcgis --no-deps```. You can then manually choose which dependencies, if any, to add to your Python environment.\n",
"To install the API with no dependencies, simply add the ```--no-deps``` flag to any install command, i.e. ```conda install -c esri arcgis --no-deps``` or ```pip install arcgis --no-deps```. You can then manually choose which dependencies, if any, to add to your Python environment.\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Install deep learning dependencies for arcgis.learn module"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"If you already have an environment with the `arcgis` package installed, you can further install its deep learning dependencies to take advantage of the `arcgis.learn` module. Some of the deep learning samples available [here](https://developers.arcgis.com/python/sample-notebooks/) can be referenced to understand the workflow."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Install using conda (Anaconda)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Windows\n",
"\n",
"```conda install -c esri arcgis fastai pillow scikit-image```\n",
"\n",
"```conda install gdal=2.3.3```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Linux\n",
"\n",
"```conda install -c esri -c fastai -c pytorch arcgis pillow scikit-image fastai=1.0.54 pytorch=1.1.0```\n",
"\n",
"```conda install gdal=2.3.3```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Install using the Python Command Prompt (ArcGIS Pro 2.5)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Navigate to Start Menu > All Programs > ArcGIS > Python Command Prompt\n",
"\n",
"Install the dependecies using the following command:\n",
"\n",
"```conda install -c esri arcgis fastai pillow scikit-image --no-pin```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"For TensorFlow support in either of the above environments, install using the following command:\n",
"\n",
"```conda install -c esri tensorflow-gpu=2.0.0```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"***\n",
"\n",
"## Upgrade the `arcgis` package\n",
"#### ArcGIS Pro 2.2\n",
"ArcGIS Pro 2.2 ships with the ArcGIS API for Python 1.4.1 installed. The initial ArcGIS Pro installation creates a default read-only conda environment named `arcgispro-py3`. To upgrade the ArcGIS API for Python package, use the [`Python Package Manager`](http://pro.arcgis.com/en/pro-app/arcpy/get-started/what-is-conda.htm) to create a new environment and then install the latest release of the ArcGIS API for Python:\n",
Expand Down Expand Up @@ -411,7 +491,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.6.9"
},
"varInspector": {
"cols": {
Expand Down

Large diffs are not rendered by default.

0 comments on commit 8bd57b2

Please sign in to comment.