mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-09-24 23:10:23 +08:00
fix(dependencies): remove unnecessary pypandoc and struct-eqtable packages;fix matplotlib>=3.9.1 not support Windows system without compilation environment.
This commit is contained in:
@@ -8,6 +8,4 @@ fast-langdetect==0.2.0
|
||||
wordninja>=2.0.0
|
||||
scikit-learn>=1.0.2
|
||||
pdfminer.six==20231228
|
||||
pypandoc
|
||||
struct-eqtable==0.1.0
|
||||
# The requirements.txt must ensure that only necessary external dependencies are introduced. If there are new dependencies to add, please contact the project administrator.
|
||||
|
||||
@@ -36,12 +36,14 @@ if __name__ == '__main__':
|
||||
"paddlepaddle==3.0.0b1;platform_system=='Linux'",
|
||||
"paddlepaddle==2.6.1;platform_system=='Windows' or platform_system=='Darwin'",
|
||||
],
|
||||
"full": ["unimernet==0.1.6",
|
||||
"matplotlib",
|
||||
"ultralytics",
|
||||
"paddleocr==2.7.3",
|
||||
"paddlepaddle==3.0.0b1;platform_system=='Linux'",
|
||||
"paddlepaddle==2.6.1;platform_system=='Windows' or platform_system=='Darwin'",
|
||||
"full": ["unimernet==0.1.6", # 0.1.6版本大幅裁剪依赖包范围,推荐使用此版本
|
||||
"matplotlib<=3.9.0", # 3.9.1及之后不提供windows的预编译包,避免一些没有编译环境的windows设备安装失败
|
||||
"ultralytics", # yolov8,公式检测
|
||||
"paddleocr==2.7.3", # 2.8.0及2.8.1版本与detectron2有冲突,需锁定2.7.3
|
||||
"paddlepaddle==3.0.0b1;platform_system=='Linux'", # 解决linux的段异常问题
|
||||
"paddlepaddle==2.6.1;platform_system=='Windows' or platform_system=='Darwin'", # windows版本3.0.0b1效率下降,需锁定2.6.1
|
||||
"pypandoc", # 表格解析latex转html
|
||||
"struct-eqtable==0.1.0", # 表格解析
|
||||
"detectron2"
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user