Skip to content
New issue

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

请问目前能支持centos7系统吗 #1000

Closed
Muyi030 opened this issue Nov 18, 2024 · 7 comments
Closed

请问目前能支持centos7系统吗 #1000

Muyi030 opened this issue Nov 18, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@Muyi030
Copy link

Muyi030 commented Nov 18, 2024

请问目前能支持centos7系统吗?还是只能在Ubuntu 22.04上使用

@Muyi030 Muyi030 added the enhancement New feature or request label Nov 18, 2024
@myhloli
Copy link
Collaborator

myhloli commented Nov 18, 2024

有反馈在centos7上安装某些依赖会失败,您可以尝试创建conda虚拟环境安装,如果装不上可以用我们的dockerfile自行build一个基于ubuntu22.04构建的环境

@Muyi030
Copy link
Author

Muyi030 commented Nov 18, 2024

好的谢谢!
我尝试使用dockerfile进行构建,但是好像报错,是dockerfile里面detectron2什么版本需要修改吗?
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
ERROR: Could not find a version that satisfies the requirement detectron2 (from versions: none)
ERROR: No matching distribution found for detectron2
The command '/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/"' returned a non-zero code: 1

@myhloli
Copy link
Collaborator

myhloli commented Nov 18, 2024

你构建docker的设备是arm处理器吗

@Muyi030
Copy link
Author

Muyi030 commented Nov 18, 2024

不是的,我是在mac上构建的,是不是需要指定目标对象为arm架构呀

@myhloli
Copy link
Collaborator

myhloli commented Nov 18, 2024

构建ubuntu镜像需要指定架构为x86-64,因为我们不支持arm linux
你的mac是arm架构,默认构建了arm的linux,所以后续的安装命令会失败

@Muyi030
Copy link
Author

Muyi030 commented Nov 18, 2024

好的感谢!我调整一下

@myhloli
Copy link
Collaborator

myhloli commented Nov 18, 2024

centos7 的临时解决方案

#1004

@myhloli myhloli closed this as completed Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants