snym04 commited on
Commit
c52e71d
·
verified ·
1 Parent(s): e8e6148

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +13 -10
requirements.txt CHANGED
@@ -1,9 +1,16 @@
1
- # --- 1. 命令行与 CLI 基础库 (解决本次报错) ---
 
 
 
 
 
 
 
2
  shellingham==1.5.4
3
  typer==0.12.5
4
  click==8.1.7
5
 
6
- # --- 2. 核心数学与基础工具 (持续锁定) ---
7
  mpmath==1.3.0
8
  sympy==1.13.3
9
  pyparsing==3.1.2
@@ -11,29 +18,25 @@ sse-starlette==2.1.3
11
  uvicorn>=0.14.0
12
  websockets>=10.4
13
 
14
- # --- 3. 网页处理与解析锁定 ---
15
  soupsieve==2.6
16
  beautifulsoup4==4.12.3
17
 
18
- # --- 4. 之前封堵的黑洞 ---
19
  flatbuffers==24.3.25
20
  authlib==1.3.2
21
  tifffile==2024.12.12
22
  scikit-image==0.25.0
23
 
24
- # --- 5. PyTorch 环境 (CPU 优先) ---
25
  --extra-index-url https://download.pytorch.org/whl/cpu
26
  torch
27
  torchvision
28
  av==12.3.0
29
 
30
- # --- 6. MinerU 核心组件 ---
31
  onnxruntime>=1.18.0
32
  magika>=0.5.1
33
- magic-pdf[full]
34
- mineru[all]
35
-
36
- # --- 7. 功能性依赖 ---
37
  pillow
38
  playwright
39
  openai
 
1
+ # --- 1. 修正 MinerU 及其核心组件 (解决本次报错的关键) ---
2
+ # 移除 [full],直接锁定版本,手动添加底层依赖
3
+ magic-pdf==0.10.5
4
+ mineru==0.1.15
5
+ # 如果你需要布局分析,锁定 paddlepaddle (CPU版)
6
+ paddlepaddle==3.0.0b1
7
+
8
+ # --- 2. 命令行与 CLI 基础库 (持续锁定) ---
9
  shellingham==1.5.4
10
  typer==0.12.5
11
  click==8.1.7
12
 
13
+ # --- 3. 核心数学与基础工具 ---
14
  mpmath==1.3.0
15
  sympy==1.13.3
16
  pyparsing==3.1.2
 
18
  uvicorn>=0.14.0
19
  websockets>=10.4
20
 
21
+ # --- 4. 网页处理与解析 ---
22
  soupsieve==2.6
23
  beautifulsoup4==4.12.3
24
 
25
+ # --- 5. 之前封堵的黑洞 ---
26
  flatbuffers==24.3.25
27
  authlib==1.3.2
28
  tifffile==2024.12.12
29
  scikit-image==0.25.0
30
 
31
+ # --- 6. PyTorch 环境 (CPU 优先) ---
32
  --extra-index-url https://download.pytorch.org/whl/cpu
33
  torch
34
  torchvision
35
  av==12.3.0
36
 
37
+ # --- 7. 其他功能依赖 ---
38
  onnxruntime>=1.18.0
39
  magika>=0.5.1
 
 
 
 
40
  pillow
41
  playwright
42
  openai