Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
7952ee4a
Commit
7952ee4a
authored
Jul 18, 2024
by
myhloli
Browse files
docs(readme): add version verification step for magic-pdf installation
parent
06257e22
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
README_zh-CN.md
README_zh-CN.md
+8
-2
No files found.
README_zh-CN.md
View file @
7952ee4a
...
@@ -83,12 +83,18 @@ conda activate MinerU
...
@@ -83,12 +83,18 @@ conda activate MinerU
#### 1. 安装Magic-PDF
#### 1. 安装Magic-PDF
使用pip安装完整功能包:
使用pip安装完整功能包:
>受pypi限制,pip安装的完整功能包仅支持cpu推理,建议只用于快速测试解析能力。
>
受pypi限制,pip安装的完整功能包仅支持cpu推理,建议只用于快速测试解析能力。
>
>
>如需在生产环境使用CUDA/MPS加速请参考[使用CUDA或MPS加速推理](#4-使用CUDA或MPS加速推理)
>
如需在生产环境使用CUDA/MPS加速请参考[使用CUDA或MPS加速推理](#4-使用CUDA或MPS加速推理)
```
bash
```
bash
pip
install
magic-pdf[full-cpu]
pip
install
magic-pdf[full-cpu]
```
```
> ❗️已收到多起由于镜像源和依赖冲突问题导致安装了错误版本软件包的反馈,请务必安装完成后通过以下命令验证版本是否正确
> ```bash
> magic-pdf --version
> ```
> 如版本低于0.6.x,请提交issue进行反馈。
完整功能包依赖detectron2,该库需要编译安装,如需自行编译,请参考 https://github.com/facebookresearch/detectron2/issues/5114
完整功能包依赖detectron2,该库需要编译安装,如需自行编译,请参考 https://github.com/facebookresearch/detectron2/issues/5114
或是直接使用我们预编译的whl包(仅限python 3.10):
或是直接使用我们预编译的whl包(仅限python 3.10):
```
bash
```
bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment