-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可否升级到 python3.10,甚至是 3.11 #228
Comments
当然是可以的。请按下列步骤操作:
将上述库的文件( 个人实测,3.11是可以使用的。
因为 3.8 是官方最后一个支持win7的版本。考虑到本项目有很多win7用户,故选用兼容性最好的版本作为发行包。 不过,开发者当然可以自己调整和定制本项目的运行环境。
固然,新版py的运行速度有很大的提升,但对本项目的效率可能帮助不大。 Umi-OCR内部实际上有三个运行环境:跑OCR的C++推理引擎,跑UI界面的qml引擎,及跑业务逻辑的python解释器。前两者(C++和qml)已经是同类项目中最高效的了,python只是作为它们之间的胶水。故py速度再快,也难以影响到OCR的速度或前端的流畅度。 启动速度更快可能是存在的,不过体感不明显。你可以试试~ |
谢谢解答,既然是win7那就没办法了。想问一下另一个问题,python3.11的pySide2是在哪下的,我用3.11进行pip install pyside2,安装失败 |
首先请仔细了解 构建项目 ,本项目导入第三方包一般不使用pip。 其次,3.8到3.11的pyside2应该是能通用的。我在3.11上测试,似乎当前版本的pyside2没有问题,不需要更换。 |
了解了 |
我自己试了下 miniconda 的 3.10,相比于自带的 3.8,启动速度快了很多,体感很明显
The text was updated successfully, but these errors were encountered: