Skip to content

Commit c60f1c8

Browse files
authored
Updated installation docs (#146)
1 parent a6d13ac commit c60f1c8

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/installation.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@ pip install segment-geospatial
1111
## Install from conda-forge
1212

1313
**segment-geospatial** is also available on [conda-forge](https://anaconda.org/conda-forge/segment-geospatial). If you have
14-
[Anaconda](https://www.anaconda.com/distribution/#download-section) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) installed on your computer, you can install segment-geospatial using the following command:
14+
[Anaconda](https://www.anaconda.com/distribution/#download-section) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) installed on your computer, you can install segment-geospatial using the following commands. It is recommended to create a fresh conda environment for **segment-geospatial**. The following commands will create a new conda environment named `geo` and install **segment-geospatial** and its dependencies:
1515

1616
```bash
17-
conda install -c conda-forge segment-geospatial
17+
conda create -n geo python=3.10
18+
conda activate geo
19+
conda install -c conda-forge mamba
20+
mamba install -c conda-forge segment-geospatial
1821
```
1922

20-
It is recommended to create a fresh conda environment for **segment-geospatial**. The following command will create a new conda environment named `geo` and install **segment-geospatial** and its dependencies:
23+
Samgeo-geospatial has some optional dependencies that are not included in the default conda environment. To install these dependencies, run the following command:
2124

2225
```bash
23-
conda install -n base mamba -c conda-forge
24-
mamba create -n geo segment-geospatial python=3.9 -c conda-forge
26+
pip install groundingdino-py
2527
```
2628

2729
As of July 9th, 2023 Linux systems have also required that `libgl1` be installed for segment-geospatial to work. The following command will install that dependency

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ rasterio
88
tqdm
99
gdown
1010
xyzservices
11-
pyproj
11+
pyproj
12+
leafmap
13+
localtileserver

0 commit comments

Comments
 (0)