Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ArcGIS installation instructions #226

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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