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
11.19k stars 835 forks source link

无法安装依赖,请问该如何解决呢 #405

Open yangchun58 opened 1 month ago

yangchun58 commented 1 month ago

Description of the bug | 错误描述

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/"

Looking in indexes: https://mirrors.aliyun.com/pypi/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

How to reproduce the bug | 如何复现

python demo.py

Operating system | 操作系统

Windows

Python version | Python 版本

3.12

Software version | 软件版本 (magic-pdf --version)

0.6.x

Device mode | 设备模式

cpu

myhloli commented 1 month ago

预编译包只支持python3.10

yangchun58 commented 1 month ago

预编译包只支持python3.10

好嘞,我试试看~ 多谢

myhloli commented 1 month ago

可以参考https://github.com/opendatalab/MinerU/blob/master/README_zh-CN.md#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B 中的步骤进行安装

Ceceliachenen commented 1 month ago

有考虑到升级到python3.11吗,因为现在最新的llamaindex支持的是3.11