sml2h3 / ddddocr

带带弟弟 通用验证码识别OCR pypi版
https://ddddocr.com
MIT License
9.73k stars 1.74k forks source link

求适配py3.12 #155

Closed xf11075 closed 3 months ago

xf11075 commented 10 months ago

能支持下最新版本么 ERROR: Ignored the following versions that require a different python version: 1.0.8 Requires-Python <3.8; 1.1.0 Requires-Python <3.9; 1.2.0 Requires-Python <3.10; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.3.0 Requires-Python <3.10; 1.3.1 Requires-Python <3.10; 1.4.0 Requires-Python <3.10; 1.4.1 Requires-Python <3.10; 1.4.2 Requires-Python <3.10; 1.4.3 Requires-Python <3.10; 1.4.4 Requires-Python <=3.10; 1.4.5 Requires-Python <3.11; 1.4.6 Requires-Python <3.11; 1.4.7 Requires-Python <3.11; 1.4.8 Requires-Python <3.11; 1.4.9 Requires-Python <3.12 ERROR: Could not find a version that satisfies the requirement onnxruntime (from ddddocr) (from versions: none) ERROR: No matching distribution found for onnxruntime

fj3224013877 commented 9 months ago

降级成3.9可以用

17337162621254271304 commented 6 months ago

我也遇到这个了。在Windows上无法使用。 macOS+py3.8 == 1.4.11 Windows+py3.12 == 1.0.6

lor2012 commented 4 months ago

pip install onnxruntime==1.14.1 应该可以解决问题

sml2h3 commented 3 months ago

已经支持了