Skip to content

Commit b4f5724

Browse files
[Docs] Fix installation of Minkowski (#2534)
1 parent 65e2832 commit b4f5724

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/en/get_started.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ Note:
9494

9595
```shell
9696
conda install openblas-devel -c anaconda
97+
export CPLUS_INCLUDE_PATH=CPLUS_INCLUDE_PATH:${YOUR_CONDA_ENVS_DIR}/include
98+
# replace ${YOUR_CONDA_ENVS_DIR} to your anaconda environment path e.g. `/home/username/anaconda3/envs/openmmlab`.
9799
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --install-option="--blas_include_dirs=/opt/conda/include" --install-option="--blas=openblas"
98100
```
99101

@@ -109,6 +111,7 @@ Note:
109111
```shell
110112
conda install -c bioconda sparsehash
111113
export CPLUS_INCLUDE_PATH=CPLUS_INCLUDE_PATH:${YOUR_CONDA_ENVS_DIR}/include
114+
# replace ${YOUR_CONDA_ENVS_DIR} to your anaconda environment path e.g. `/home/username/anaconda3/envs/openmmlab`.
112115
pip install --upgrade git+https://github.com/mit-han-lab/[email protected]
113116
```
114117

docs/zh_cn/get_started.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ mim install "mmdet3d>=1.1.0rc0"
9292

9393
```shell
9494
conda install openblas-devel -c anaconda
95+
export CPLUS_INCLUDE_PATH=CPLUS_INCLUDE_PATH:${YOUR_CONDA_ENVS_DIR}/include
96+
# replace ${YOUR_CONDA_ENVS_DIR} to your anaconda environment path e.g. `/home/username/anaconda3/envs/openmmlab`.
9597
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --install-option="--blas_include_dirs=/opt/conda/include" --install-option="--blas=openblas"
9698
```
9799

@@ -107,6 +109,7 @@ mim install "mmdet3d>=1.1.0rc0"
107109
```shell
108110
conda install -c bioconda sparsehash
109111
export CPLUS_INCLUDE_PATH=CPLUS_INCLUDE_PATH:${YOUR_CONDA_ENVS_DIR}/include
112+
# replace ${YOUR_CONDA_ENVS_DIR} to your anaconda environment path e.g. `/home/username/anaconda3/envs/openmmlab`.
110113
pip install --upgrade git+https://github.com/mit-han-lab/[email protected]
111114
```
112115

0 commit comments

Comments
 (0)