Pyinstaller中的OSError,我无法在.exe中转换.py

时间:2019-10-27 11:39:00

标签: python exe pyinstaller executable

我想在.exe中转换项目,但是有一些问题。

我尝试了“自动将py转换为exe”,“ Py2exe”和“ pyinstaller”,并始终出现相同的错误。

尝试通过自动Py-To-Exe

https://imgur.com/ISYj6zU

https://imgur.com/a/OEwlXoS

通过 Pyinstaller 尝试:

https://imgur.com/5zPKUyT

https://imgur.com/QtTLSgz

1 个答案:

答案 0 :(得分:0)

我尝试使用cx_Freeze使我成为.exe文件,但是当我打开它时显示此错误https://imgur.com/iVpMGV4