[英]Convert a Python (3.5.2) File into an exe?
is there any surefire way to convert a Python (3.5.2) File into an exe? 有什么surefire方法可以将Python(3.5.2)文件转换为exe? I have seen Pyinstaller, py2exe and cx_Freeze.
我见过Pyinstaller,py2exe和cx_Freeze。 cx_Freeze does not have a Python 3.5 version, only 3.4 so it isnt compatible.
cx_Freeze没有Python 3.5版本,只有3.4,因此不兼容。 Py2exe works only for Python 2 and while I had some success with Pyinstaller, it returned an error relating to 9130 WARNING: hidden import "pygame._view" not found!
Py2exe仅适用于Python 2,尽管我在Pyinstaller上取得了一些成功,但它返回了与9130有关的错误警告:找不到隐藏的导入“ pygame._view”! (the only one as I can see).
(我所看到的唯一一个)。
The exe. 的exe。 file was created but malfunctioned and stopped working.
文件已创建,但出现故障并停止工作。
Any advice? 有什么建议吗?
I used py2exe to convert python 3 files to exe files. 我用py2exe将python 3文件转换为exe文件。 I haven't tested with version 3.5 but this website says that this version of py2exe works with any python 3 versions.
我尚未使用3.5版进行测试,但该网站说py2exe的该版本可与任何python 3版本一起使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.