[英]How to install cx_freeze for converting Python 3.10 Scripts to Executables?
Hello I can't find any cx_freeze
version for Python 3.10
As it's not available on Internet.您好,我找不到任何cx_freeze
于Python 3.10
cx_freeze
版本,因为它在 Internet 上不可用。 I needed it because only cx_freeze
can convert my script into executable.我需要它,因为只有cx_freeze
可以将我的脚本转换为可执行文件。
Is there any other way to convert Python 3.10
to exe without any errors even the pyinstaller
gives error while converting it's code.有没有其他方法可以将Python 3.10
转换为 exe 而不会出现任何错误,即使pyinstaller
在转换其代码时pyinstaller
出错。
you should consider downgrade to Python 3.9.您应该考虑降级到 Python 3.9。 Last version of Cx_freeze and Python 3.9.9 is working fine.最新版本的 Cx_freeze 和 Python 3.9.9 运行良好。 For further help: https://cx-freeze.readthedocs.io/en/latest/setup_script.html#setup-script如需进一步帮助: https : //cx-freeze.readthedocs.io/en/latest/setup_script.html#setup-script
step by step:一步步:
install python 3.9.9
pip install cx-freeze
python -m pip install --upgrade pip
cxfreeze -c hello.py --target-dir dist
Build it for Windows and tested with PyQt6 all works fine为 Windows 构建它并使用 PyQt6 测试一切正常
Link to download: https://github.com/egormartiniuc/wheels.git下载链接: https : //github.com/egormartiniuc/wheels.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.