-
Notifications
You must be signed in to change notification settings - Fork 2k
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
detectron2 安装之后仍然一直报错 #233
Comments
please upload the result of pip list |
我也是同样的问题,centos系统,pip list 为pip list absl-py 2.1.0 |
@zifengdexiatian sudo apt-get update
sudo apt-get install libgl1-mesa-glx libegl1-mesa-dev You may use the following commands to install these libraries on CentOS. sudo yum update
sudo yum install mesa-libGL mesa-libEGL-devel If they do not work, please continue to provide feedback. |
@myhloli Thanks, I will try and by the way ask if there is a docker image available |
@zifengdexiatian #189 For docker file please refer to this link, but we have not tested yet. |
@drunkpig Thanks a lot! |
same issue on windows |
@Knightlj problem solved, File "C:\ProgramData\Anaconda3\lib\site-packages\ultralytics\utils_init_.py", line 21, in I had issue with matplotlib, you can debug the pdf_extract_kit.py file and see the wrong import |
@myhloli Hi, I have provided the figure of "pip list" result as above reply. |
@Knightlj you can delete the logger.error and see the exact wrong import module in pdf_extract_kit.py, I updated the matplotlib and it worked |
@Knightlj may be your Mac has intel cpu,you should install magic-pdf by |
@Knightlj pip install magic-pdf[full-cpu] |
@myhloli 按照你刚才的链接中成功执行了“pip3 install magic-pdf[full-cpu]” 现在报另一个错误:2024-07-29 16:20:56.744 | ERROR | magic_pdf.model.pp_structure_v2::8 - paddleocr not installed, please install by "pip install magic-pdf[cpu]" or "pip install magic-pdf[gpu]" |
This is not the expected result. magic-pdf --version if your version is 0.5.x,please feedback. |
magic-pdf, version 0.5.13 |
@Knightlj |
yep, the python platform is x86_64 |
@myhloli 我已经重新安装好arm64的python3, 并且重新执行了pip3 install magic-pdf[cpu] ![]() |
please use conda create a new env with python3.10 pip install magic-pdf[full-cpu]
pip install detectron2 --extra-index-url https://myhloli.github.io/wheels/ |
@myhloli @cyz2453057960 放弃在mac上倒腾了,听了cyz的建议,我在ubuntu上倒腾成功啦,感谢两位🙏。另外我发现生成出来的md文件,段落有时不分明,对公式并没有生成latex格式,如下图所示: |
magic-pdf --version if result not 0.6.1,maybe wrong again😂 |
@myhloli 不是0.6.1😭,还是version 0.5.13。不知道怎么办了 |
emmm,arm64+linux,many package not support this platform. |
我也是一样的问题, M2 的 Mac, python 3.10.14, magic-pdf 0.6.1。 |
pip list absl-py 2.1.0 |
2024-07-29 22:32:39.654 | WARNING | magic_pdf.cli.magicpdf:get_model_json:310 - not found json /Users/testjam/Desktop/test.json existed @myhloli 额,换了台mac,倒腾下又变成了新的错误😭 |
@Knightlj @qinzhenlove @zifengdexiatian We have updated to the 0.6.2b1 release, addressing and resolving the aforementioned issue. |
Description of the bug | 错误描述
2024-07-29 09:40:30.261 | ERROR | magic_pdf.model.pdf_extract_kit::24 - Required dependency not installed, please install by
"pip install magic-pdf[full-cpu] detectron2 --extra-index-url https://myhloli.github.io/wheels/"
detectron2 安装成功之后仍然一直报这个错误
How to reproduce the bug | 如何复现
Operating system | 操作系统
MacOS
Python version | Python 版本
3.10
Software version | 软件版本 (magic-pdf --version)
0.6.x
Device mode | 设备模式
mps
The text was updated successfully, but these errors were encountered: