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

ERROR: detectron2-0.6-cp310-cp310-linux_x86_64.whl is not a supported wheel on this platform. #143

Closed
lpy148145 opened this issue Oct 11, 2024 · 7 comments

Comments

@lpy148145
Copy link

ERROR: detectron2-0.6-cp310-cp310-linux_x86_64.whl is not a supported wheel on this platform.

@myhloli
Copy link
Collaborator

myhloli commented Oct 11, 2024

The precompiled version does not support ARM Linux. You can try building it yourself from the source code repository: https://github.com/facebookresearch/detectron2

@lpy148145
Copy link
Author

thanks File "/root/extract-pdf/PDF-Extract-Kit-main/pdf_extract.py", line 2, in
import cv2
File "/root/miniconda3/lib/python3.12/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/root/miniconda3/lib/python3.12/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

@lpy148145
Copy link
Author

把项目拉下来,也不可以吗

@myhloli
Copy link
Collaborator

myhloli commented Oct 11, 2024

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

sudo apt install libgl1-mesa-glx

@lpy148145
Copy link
Author

RuntimeError: module compiled against ABI version 0x1000009 but this version of numpy is 0x2000000
Traceback (most recent call last):
File "/root/extract-pdf/PDF-Extract-Kit-main/pdf_extract.py", line 2, in
import cv2
File "/root/miniconda3/lib/python3.12/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/root/miniconda3/lib/python3.12/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: numpy.core.multiarray failed to import

@lpy148145
Copy link
Author

是numpy的版本不对么 就是按照文件安装的依赖

@myhloli
Copy link
Collaborator

myhloli commented Oct 11, 2024

有个简单的方案,先conda 创建一个python3.10的环境,再装下面这个依赖包
https://huggingface.co/spaces/opendatalab/MinerU/blob/main/requirements.txt
装完之后再pip install unimernet==0.1.6
这样环境就不会有问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants