瀏覽代碼

feat: update README_zh-CN to include installation instructions for source and full version of MinerU

myhloli 5 月之前
父節點
當前提交
684da53141
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      README_zh-CN.md

+ 16 - 0
README_zh-CN.md

@@ -482,6 +482,22 @@ pip install uv
 uv pip install "mineru[core]>=2.0.0" -i https://mirrors.aliyun.com/pypi/simple
 ```
 
+您也可以通过源码安装
+```bash
+git clone https://github.com/opendatalab/MinerU.git
+cd MinerU
+uv pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple
+```
+
+如果您需要使用sglang加速vlm模型推理,请直接安装MinerU的完整版本
+```bash
+uv pip install "mineru[all]>=2.0.0" -i https://mirrors.aliyun.com/pypi/simple
+```
+或
+```bash
+uv pip install -e .[all] -i https://mirrors.aliyun.com/pypi/simple
+```
+
 ## 2.使用
 
 ### 命令行