Skip to content

Commit 8bd57b2

Browse files
committed
Merge branch 'master' of github.com:Esri/arcgis-python-api
2 parents 8022f55 + 84bb965 commit 8bd57b2

File tree

2 files changed

+1031
-2
lines changed

2 files changed

+1031
-2
lines changed

guide/01-getting-started/install-and-set-up.ipynb

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
" - [Install Using Anaconda for Python Distribution](#Install-using-Anaconda-for-Python-Distribution)\n",
2323
" - [Install Using pip or pipenv](#Install-using-pipenv-or-pip)\n",
2424
" - [Install without Dependencies](#Install-without-Dependencies)\n",
25+
" - [Install deep learning dependencies for arcgis.learn module](#Install-deep-learning-dependencies-for-arcgis.learn-module)\n",
26+
" - [Install using conda (Anaconda)](#Install-using-conda-(Anaconda))\n",
27+
" - [Install using the Python Command Prompt (ArcGIS Pro 2.5)](#Install-using-the-Python-Command-Prompt-(ArcGIS-Pro-2.5)) \n",
2528
" - [Upgrade the `arcgis` package](#Upgrade-the-arcgis-package)\n",
2629
" - [ArcGIS Pro 2.2](#ArcGIS-Pro-2.2)\n",
2730
" - [ArcGIS Pro 2.1](#ArcGIS-Pro-2.1)\n",
@@ -97,6 +100,7 @@
97100
" * Enter the following at the prompt:\n",
98101
" ```python\n",
99102
" conda install -c esri arcgis\n",
103+
" \n",
100104
" ```\n",
101105
"\n",
102106
"![python command prompt](../../static/img/python_command_prompt.png)\n",
@@ -151,9 +155,85 @@
151155
"\n",
152156
"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",
153157
"\n",
154-
"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",
158+
"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"
159+
]
160+
},
161+
{
162+
"cell_type": "markdown",
163+
"metadata": {},
164+
"source": [
165+
"## Install deep learning dependencies for arcgis.learn module"
166+
]
167+
},
168+
{
169+
"cell_type": "markdown",
170+
"metadata": {},
171+
"source": [
172+
"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."
173+
]
174+
},
175+
{
176+
"cell_type": "markdown",
177+
"metadata": {},
178+
"source": [
179+
"### Install using conda (Anaconda)"
180+
]
181+
},
182+
{
183+
"cell_type": "markdown",
184+
"metadata": {},
185+
"source": [
186+
"#### Windows\n",
187+
"\n",
188+
"```conda install -c esri arcgis fastai pillow scikit-image```\n",
189+
"\n",
190+
"```conda install gdal=2.3.3```"
191+
]
192+
},
193+
{
194+
"cell_type": "markdown",
195+
"metadata": {},
196+
"source": [
197+
"#### Linux\n",
198+
"\n",
199+
"```conda install -c esri -c fastai -c pytorch arcgis pillow scikit-image fastai=1.0.54 pytorch=1.1.0```\n",
200+
"\n",
201+
"```conda install gdal=2.3.3```"
202+
]
203+
},
204+
{
205+
"cell_type": "markdown",
206+
"metadata": {},
207+
"source": [
208+
"### Install using the Python Command Prompt (ArcGIS Pro 2.5)"
209+
]
210+
},
211+
{
212+
"cell_type": "markdown",
213+
"metadata": {},
214+
"source": [
215+
"Navigate to Start Menu > All Programs > ArcGIS > Python Command Prompt\n",
155216
"\n",
217+
"Install the dependecies using the following command:\n",
218+
"\n",
219+
"```conda install -c esri arcgis fastai pillow scikit-image --no-pin```"
220+
]
221+
},
222+
{
223+
"cell_type": "markdown",
224+
"metadata": {},
225+
"source": [
226+
"For TensorFlow support in either of the above environments, install using the following command:\n",
227+
"\n",
228+
"```conda install -c esri tensorflow-gpu=2.0.0```"
229+
]
230+
},
231+
{
232+
"cell_type": "markdown",
233+
"metadata": {},
234+
"source": [
156235
"***\n",
236+
"\n",
157237
"## Upgrade the `arcgis` package\n",
158238
"#### ArcGIS Pro 2.2\n",
159239
"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",
@@ -411,7 +491,7 @@
411491
"name": "python",
412492
"nbconvert_exporter": "python",
413493
"pygments_lexer": "ipython3",
414-
"version": "3.6.8"
494+
"version": "3.6.9"
415495
},
416496
"varInspector": {
417497
"cols": {

samples/04_gis_analysts_data_scientists/calculate_impervious_surfaces_from_spectral_imagery.ipynb

Lines changed: 949 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)