MinerU icon indicating copy to clipboard operation
MinerU copied to clipboard

我在Linux环境下安装环境一直报错Could not find a version that satisfies the requirement setuptools>=40.6.2

Open qwerasdfgioa opened this issue 1 year ago • 1 comments

Description of the bug | 错误描述

  ERROR: Could not find a version that satisfies the requirement setuptools>=40.6.2 (from versions: none)
  ERROR: No matching distribution found for setuptools>=40.6.2
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

但是我检查过了pip和setuotools都是存在的并且版本与我window环境下的一致,并且windows没有任何错误

How to reproduce the bug | 如何复现

1

Operating system | 操作系统

Linux

Python version | Python 版本

3.10

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

0.6.x

Device mode | 设备模式

cpu

qwerasdfgioa avatar Aug 14 '24 02:08 qwerasdfgioa

@qwerasdfgioa The simplest way is to create a new environment: conda create -n minerU python=3.10

drunkpig avatar Aug 15 '24 02:08 drunkpig