Skip to content

Commit

Permalink
[Docs] Docs for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
fanqiNO1 committed Nov 20, 2023
1 parent b089d6d commit 7c74c2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/en/get_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
## Install MMEngine

:::{note}
If you only want to use the fileio, registry, and config modules in MMEngine, you can set the `MMENGINE_LITE` environment variable, which will only install the few third-party library dependencies that are necessary (e.g., it will not install opencv, matplotlib):
If you only want to use the fileio, registry, and config modules in MMEngine, you can install `mmengine-lite`, which will only install the few third-party library dependencies that are necessary (e.g., it will not install opencv, matplotlib):

```bash
MMENGINE_LITE=1 pip install mmengine
pip install mmengine-lite
```

:::
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_cn/get_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
## 安装 MMEngine

:::{note}
如果你只想使用 MMEngine 中的 fileio、registry 和 config 模块,你可以设置 `MMENGINE_LITE` 环境变量,它只会安装必须的几个第三方库依赖(例如不会安装 opencv、matplotlib):
如果你只想使用 MMEngine 中的 fileio、registry 和 config 模块,你可以安装`mmengine-lite`,它只会安装必须的几个第三方库依赖(例如不会安装 opencv、matplotlib):

```bash
MMENGINE_LITE=1 pip install mmengine
pip install mmengine-lite
```

:::
Expand Down

0 comments on commit 7c74c2c

Please sign in to comment.