|
|
@@ -248,8 +248,8 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c
|
|
|
> 最新版本国内镜像源同步可能会有延迟,请耐心等待
|
|
|
|
|
|
```bash
|
|
|
-conda create -n MinerU python=3.10
|
|
|
-conda activate MinerU
|
|
|
+conda create -n mineru python=3.10
|
|
|
+conda activate mineru
|
|
|
pip install -U "magic-pdf[full]" --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple
|
|
|
```
|
|
|
|
|
|
@@ -308,7 +308,7 @@ pip install -U "magic-pdf[full]" --extra-index-url https://wheels.myhloli.com -i
|
|
|
```bash
|
|
|
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/Dockerfile -O Dockerfile
|
|
|
docker build -t mineru:latest .
|
|
|
- docker run --rm -it --gpus=all mineru:latest /bin/bash -c "echo 'source /opt/mineru_venv/bin/activate' >> ~/.bashrc && exec bash"
|
|
|
+ docker run -it --name mineru --gpus=all mineru:latest /bin/bash -c "echo 'source /opt/mineru_venv/bin/activate' >> ~/.bashrc && exec bash"
|
|
|
magic-pdf --help
|
|
|
```
|
|
|
### 使用NPU
|