|
6 | 6 | "source": [
|
7 | 7 | "# Install using Conda\n",
|
8 | 8 | "\n",
|
9 |
| - "The ArcGIS Python API is distributed via conda.\n", |
10 |
| - "\n", |
11 |
| - "To learn more about conda, see the [getting started guide](http://conda.pydata.org/docs/get-started.html) for conda.\n", |
| 9 | + "The ArcGIS Python API is distributed via conda. Conda is a popular package and environment manager application that helps you install and update packages such as the ArcGIS Python API and their dependencies. To learn more about conda, see the [getting started guide](http://conda.pydata.org/docs/get-started.html) for conda.\n", |
12 | 10 | "\n",
|
13 | 11 | "## Get Conda\n",
|
14 |
| - "Install the latest version of [Anaconda for Python](https://www.continuum.io/downloads)(for Python 3.5), if you don't already have conda. The ArcGIS Python API requires Python 3.\n", |
| 12 | + "Install the latest version of [Anaconda for Python](https://www.continuum.io/downloads) (for Python 3.5), if you don't already have conda. The ArcGIS Python API requires Python 3.\n", |
15 | 13 | "\n",
|
16 |
| - "If you have installed ArcGIS Pro 1.3, you already have conda. Run “Python Command Prompt” shortcut within the ArcGIS Pro program group and continue with the subsequent steps.\n", |
| 14 | + "If you have installed ArcGIS Pro 1.3, you already have conda and you can use that instead of downloading Anaconda.\n", |
17 | 15 | "\n",
|
18 | 16 | "## Install arcgis package\n",
|
19 |
| - "Download and install ArcGIS Python API in your conda environment, using the following commands in cmd.exe or your shell:\n", |
| 17 | + "Download and install ArcGIS Python API in your conda environment, using the following command in your teminal. If you are running a Windows OS, you can type this into your command prompt or PowerShell or if you have installed ArcGIS Pro, then into your 'Python Command Prompt' shortcut within the ArcGIS Pro program group in Windows start menu. If you are running a Mac or Linux OS, you can type this into your terminal application.\n", |
20 | 18 | "\n",
|
21 | 19 | " conda install -c esri arcgis\n",
|
22 | 20 | " \n",
|
23 |
| - "You can now start using the ArcGIS Python API in your Python IDE of choice, or the Jupyter Notebook environment.\n", |
| 21 | + "In the screen shot below, I am typing this command into the Windows command prompt.\n", |
| 22 | + "\n", |
| 23 | + "\n", |
| 24 | + "\n", |
| 25 | + "You can now start using the ArcGIS Python API in your Python IDE of choice, or from the Jupyter Notebook environment.\n", |
| 26 | + "\n", |
| 27 | + "### Upgrade from older arcgis package\n", |
| 28 | + "If you are upgrading from an older version of arcgis package, run the following command in your terminal:\n", |
| 29 | + "\n", |
| 30 | + " conda upgrade -c esri arcgis\n", |
24 | 31 | "\n",
|
25 | 32 | "## Start jupyter notebook\n",
|
26 |
| - "To use the API in the jupyter notebook environment, use the following command in cmd.exe or your shell:\n", |
| 33 | + "To use the API in the Jupyter Notebook environment, use the following command in your terminal:\n", |
27 | 34 | "\n",
|
28 | 35 | " jupyter notebook\n",
|
29 | 36 | "\n",
|
| 37 | + "Refer to this doc for more help on [how to use the notebook environment](https://developers.arcgis.com/python/guide/Using-the-Jupyter-Notebook-environment/)\n", |
| 38 | + "\n", |
30 | 39 | "## Test your install\n",
|
31 |
| - "Create a Python 3 notebook with these lines of code:\n", |
| 40 | + "From the Jupyter Notebook dashboard, create a new Python 3 notebook and type these lines of code:\n", |
32 | 41 | "\n",
|
33 |
| - " from arcgis.gis import *\n", |
34 |
| - " gis = GIS()\n", |
35 |
| - " gis.map()\n", |
| 42 | + " from arcgis import GIS\n", |
| 43 | + " my_gis = GIS()\n", |
| 44 | + " my_gis.map()\n", |
36 | 45 | " \n",
|
37 |
| - "If the installation went through fine, you should see a map come up." |
| 46 | + "If the installation went through fine, you should see a map come up as shown below:\n", |
| 47 | + "\n", |
| 48 | + "" |
38 | 49 | ]
|
39 | 50 | }
|
40 | 51 | ],
|
|
54 | 65 | "name": "python",
|
55 | 66 | "nbconvert_exporter": "python",
|
56 | 67 | "pygments_lexer": "ipython3",
|
57 |
| - "version": "3.4.5" |
| 68 | + "version": "3.5.2" |
58 | 69 | }
|
59 | 70 | },
|
60 | 71 | "nbformat": 4,
|
|
0 commit comments