opendatalab / MinerU

A one-stop, open-source, high-quality data extraction tool, supports PDF/webpage/e-book extraction.一站式开源高质量数据提取工具,支持PDF/网页/多格式电子书提取。
https://opendatalab.com/OpenSourceTools
GNU Affero General Public License v3.0
10.29k stars 759 forks source link

多进程会报这个错- Required dependency not installed, please install by "pip install magic-pdf[full-cpu] detectron2 --extra-index-url https://myhloli.github.io/wheels/" #158

Open JUN-ZZ opened 1 month ago

JUN-ZZ commented 1 month ago

Description of the bug | 错误描述

How to reproduce the bug | 如何复现

Operating system | 操作系统

Windows

Python version | Python 版本

3.11

Device mode | 设备模式

cpu

myhloli commented 1 month ago

能提供一下您是如何通过多进程调用的代码吗?

x19990416 commented 1 month ago

能提供一下您是如何通过多进程调用的代码吗?

我也报这个错,直接运行demo的程序就抱着个错了。

2024-07-23 10:23:01.895 | INFO | magic_pdf.libs.pdf_check:detect_invalid_chars:57 - cid_count: 0, text_len: 2990, cid_chars_radio: 0.0 2024-07-23 10:23:23.074 | 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/"

我再次运行pip install magic-pdf的时候说找不到

PS I:\900-归档-ocr-测试\pdf> py -m pip install magic-pdf[full-cpu] detectron2 --extra-index-url https://myhloli.github.io/wheels/ WARNING: Ignoring invalid distribution -illow (c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages) Looking in indexes: https://pypi.org/simple, https://myhloli.github.io/wheels/ ERROR: Could not find a version that satisfies the requirement detectron2 (from versions: none) ERROR: No matching distribution found for detectron2

dev3py commented 3 weeks ago

I am too facing the same problem. Have u solved this?

Nancis1130 commented 1 week ago

same here.