Skip to content

Commit

Permalink
Update ArcGIS installation instructions (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Dec 7, 2023
1 parent 85a9193 commit 54dfb60
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/examples/arcgis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,23 @@
"2. Navigate to the **Start Menu** -> **All apps** -> **ArcGIS** folder, then open the **Python Command Prompt**.\n",
"3. Create a new conda environment and install [mamba](https://mamba.readthedocs.io/) and Python 3.9.x from the [Esri Anaconda channel](https://anaconda.org/Esri/repo). Mamba is a drop-in replacement for conda that is mach faster for installing Python packages and their dependencies. \n",
" \n",
" `conda create conda-forge::mamba esri::python --name samgeo`\n",
" `conda create conda-forge::mamba esri::python --name geo`\n",
"\n",
"4. Activate the new conda environment.\n",
"\n",
" `conda activate samgeo`\n",
" `conda activate geo`\n",
"\n",
"5. This step is optional. If you get an error message saying that `Download error (60) SSL peer certificate or SSH remote key was not OK` when installing packages in the next step, run the following command to fix the issue.\n",
"\n",
" `conda config --set ssl_verify false`\n",
"\n",
"5. Install arcpy, deep-learning-essentials, segment-geospatial, and other dependencies (~4GB download).\n",
"\n",
" `mamba install arcpy deep-learning-essentials leafmap localtileserver segment-geospatial -c esri -c conda-forge`\n",
" `mamba install arcpy deep-learning-essentials segment-geospatial pygis -c esri -c conda-forge`\n",
"\n",
"6. Activate the new environment in ArcGIS Pro.\n",
"\n",
" `proswap samgeo`\n",
" `proswap geo`\n",
"\n",
"7. Close the Python Command Prompt and open ArcGIS Pro.\n",
"8. [Download](https://samgeo.gishub.org/examples/arcgis/arcgis.ipynb) this notebook and run it in ArcGIS Pro."
Expand Down Expand Up @@ -458,7 +462,7 @@
"language_info": {
"file_extension": ".py",
"name": "python",
"version": "3.9.16"
"version": "3.11.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 54dfb60

Please sign in to comment.