We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在使用官网安装文档中的docker快速部署时发生了报错。
wget https://github.com/opendatalab/MinerU/raw/master/Dockerfile docker build -t mineru:latest . docker run --rm -it --gpus=all mineru:latest /bin/bash magic-pdf --help
报错信息如下:
576.7 ERROR: Ignored the following versions that require a different python version: 0.0.10 Requires-Python >=3.6,<=3.10; 0.0.9 Requires-Python >=3.6,<=3.10 576.7 ERROR: Could not find a version that satisfies the requirement detectron2 (from versions: none) 577.0 ERROR: No matching distribution found for detectron2 ------ Dockerfile:31 -------------------- 30 | # Activate the virtual environment and install necessary Python packages 31 | >>> RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \ 32 | >>> pip3 install --upgrade pip && \ 33 | >>> wget https://gitee.com/myhloli/MinerU/raw/master/requirements-docker.txt && \ 34 | >>> pip3 install -r requirements-docker.txt --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple && \ 35 | >>> pip3 install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/" 36 | -------------------- ERROR: failed to solve: process "/bin/sh -c /bin/bash -c \"source /opt/mineru_venv/bin/activate && pip3 install --upgrade pip && wget https://gitee.com/myhloli/MinerU/raw/master/requirements-docker.txt && pip3 install -r requirements-docker.txt --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple && pip3 install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/\"" did not complete successfully: exit code: 1
wget https://github.com/opendatalab/MinerU/raw/master/Dockerfile docker build -t mineru:latest .
Linux
3.10
0.10.x
cuda
The text was updated successfully, but these errors were encountered:
不支持arm版本的linux,需要在x86-64的设备上build和使用
Sorry, something went wrong.
是在x86_64的设备上
uname -m x86_64
Thanks, this did solve my issue on ARM Mac, had to start like this for my app:
FROM --platform=linux/amd64 python:3.10-bookworm
看下编译镜像的前面log 有没有其他报错,看起来像是python3.10 没有安装成功,后面 detectron2 装不上
No branches or pull requests
Description of the bug | 错误描述
在使用官网安装文档中的docker快速部署时发生了报错。
wget https://github.com/opendatalab/MinerU/raw/master/Dockerfile docker build -t mineru:latest . docker run --rm -it --gpus=all mineru:latest /bin/bash magic-pdf --help
报错信息如下:
How to reproduce the bug | 如何复现
wget https://github.com/opendatalab/MinerU/raw/master/Dockerfile
docker build -t mineru:latest .
Operating system | 操作系统
Linux
Python version | Python 版本
3.10
Software version | 软件版本 (magic-pdf --version)
0.10.x
Device mode | 设备模式
cuda
The text was updated successfully, but these errors were encountered: