是否有与 python 3.5 兼容的 py2exe 版本? [英] Is there a py2exe version that's compatible with python 3.5?

查看:50
本文介绍了是否有与 python 3.5 兼容的 py2exe 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下命令使用最新的 py2exe 版本 0.9.2.2 编译我的 python 3.5 文件:

I am trying to compile my python 3.5 file with the latest py2exe version 0.9.2.2 with the following command:

py -3.5 -m py2exe.build_exe myscript.py

但它报告了这个:

run-py3.5-win-amd64.exe"文件在...lib\site-packages\py2exe\ 文件夹.

"run-py3.5-win-amd64.exe" file is not found in the ...lib\site-packages\py2exe\ folder.

这是否意味着py2exe 0.9.2.2 只兼容python 3.4?

Does this mean that py2exe 0.9.2.2 is only compatible up to python 3.4?

推荐答案

不幸的是,截至 2016 年 11 月,py2exe 仍然没有 Python 3.5 支持.但是,我在 Python 3.5 中使用 cx_Freeze 5.0 取得了巨大成功,并且由于两个项目都使用非常相似的配置,因此我已经从 py2exe 迁移到了 cx_Freeze,没有太多工作.Python 3.5 的 cx_Freeze 5.0 二进制轮现在在 PyPi 上正式可用:https://pypi.python.org/pypi/cx_Freeze

Unfortunately as of November 2016 there is still no Python 3.5 support in sight for py2exe. However, I've had great success using cx_Freeze 5.0 with Python 3.5 and since both projects use a very similar configuration I've migrated away from py2exe to cx_Freeze without much work. Binary Wheels of cx_Freeze 5.0 for Python 3.5 are now available officially on PyPi: https://pypi.python.org/pypi/cx_Freeze

这篇关于是否有与 python 3.5 兼容的 py2exe 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆