Skip to content

Commit e52337f

Browse files
authored
Updated ArcGIS installation instructions (#68)
1 parent 6286657 commit e52337f

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

docs/examples/arcgis.ipynb

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,25 @@
1414
"## Steps to install segment-geospatial\n",
1515
"\n",
1616
"1. Open Windows Registry Editor (`regedit.exe`) and navigate to `Computer\\HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\FileSystem`. Change the value of `LongPathsEnabled` to `1`. See [this screenshot](https://user-images.githubusercontent.com/46331011/225140182-df32dcfe-dca2-4e7f-9992-4c389af36184.png). This is a [known issue](https://github.com/Esri/deep-learning-frameworks/blob/master/README.md#known-issues) with the deep learning libraries for ArcGIS Pro. A future release might fix this issue.\n",
17-
"2. Download the [Deep Learning Libraries Installer for ArcGIS Pro 3.1](https://github.com/Esri/deep-learning-frameworks/blob/master/README.md#download). Unzip the file and run `ProDeepLearning.msi` to install the libraries.\n",
18-
"3. Open ArcGIS Pro and navigate to **Package Manager**. Clone the `arcgispro-py3` environment and name it `segment` or any other name you prefer. Activate the cloned environment.\n",
19-
"4. Navigate to Start menu - ArcGIS - Python Command Prompt - Right Click - More - Run as administrator.\n",
20-
"5. Run `conda activate base` to activate the base environment.\n",
21-
"6. Run `conda install mamba -n base -c conda-forge` to install mamba in the base environment.\n",
22-
"7. Run `conda activate segment` to activate the cloned environment.\n",
23-
"8. Run `mamba install -c conda-forge leafmap localtileserver segment-geospatial` to install the required package dependencies in the cloned environment.\n",
24-
"9. Download this notebook and run it in ArcGIS Pro."
17+
"2. Navigate to Start Menu -> All apps -> ArcGIS folder, then run the Python Command Prompt\n",
18+
"3. Create an new environment with mamba (for MUCH faster installation) and Python 3.9.x\n",
19+
"\n",
20+
"`conda create conda-forge::mamba esri::python --name samgeo`\n",
21+
"\n",
22+
"4. Activate the environment\n",
23+
"\n",
24+
"`conda activate samgeo`\n",
25+
"\n",
26+
"5. Install arcpy, segment-geospatial, and dependencies (~4GB download)\n",
27+
"\n",
28+
"`mamba install arcpy deep-learning-essentials leafmap localtileserver segment-geospatial -c esri -c conda-forge`\n",
29+
"\n",
30+
"6. Activate the new environment in ArcGIS Pro\n",
31+
"\n",
32+
"`proswap samgeo`\n",
33+
"\n",
34+
"7. Close the Python Command Prompt and open ArcGIS Pro\n",
35+
"8. Download this notebook and run it in ArcGIS Pro"
2536
]
2637
},
2738
{

0 commit comments

Comments
 (0)