PyQt & Python2.3
是否有适用于 Python 2.3 的 PyQt3(或 4)Windows 二进制安装程序?我已经用谷歌搜索了一个小时,但没有结果。为什么我使用 2.3 版本?对于我的项目,文件大小至关重要。如果没有接口、不需要的模块和使用 UPX 压缩,生成的 .exe 大小约为 750KB。只需添加接口,这将大大增加尺寸,我知道,但它仍然是一个不错的尺寸。
那么有人知道如何使用 Python2.3 安装 PyQt3 或 4 吗?
Is there a PyQt3 (Or 4) Windows binary installer for Python 2.3? I've googled around for an hour now but to no avail. Why am I using version 2.3? With my project file size is paramount. Without the interface, un-needed modules and compressing using UPX the resulting .exe size is a mear 750KB's. Just need to add the interface which will beaf the size up considerably I know but it will still be a good size.
So anyone know how I can install PyQt3 or 4 with Python2.3?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Python 2.3 已经非常古老了。你真的根本不应该使用它。我严重怀疑是否有任何可以编译的 qt 绑定。为什么你认为使用 python 2.3 会节省这么多文件大小?
添加 pyqt 可能会使您的文件大小至少增加 10 兆字节。至少使用 python 2.6 即可。这绝对是一个过早优化的例子。并优化一些愚蠢的东西,比如文件大小。
Python 2.3 is extremely old. You really shouldn't be using it at all. I seriously doubt there's any qt bindings for it that would even compile. Why do you think using python 2.3 will save you so much file size?
Adding pyqt will probably increase your file size by 10s of megabytes at least. Just use python at least 2.6. This is definitely a case of premature optimization. And optimizing something stupid like file size.
您始终可以从源代码,但他们可能有充分的理由不发布 2.3 的二进制文件,而且它可能不受支持。
You could always compile from source, but there's probably good reason they don't release a binary for 2.3 and it's probably unsupported.