【发布时间】:2014-09-05 00:21:54
【问题描述】:
我尝试使用 cx_freeze 制作 exe,编译时收到以下消息:http://wklej.org/id/1457081/ 当我运行我的输出文件时,我得到:http://i.imgur.com/t5E7GS2.png 我的设置很简单:
# -*- coding: utf-8 -*-
import sys
from cx_Freeze import setup, Executable
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
options = {
'build_exe': {
'includes': 'atexit'
}
}
executables = [
Executable('start.pyw', base=base)
]
setup(name='simple_PyQt5',
version='0.1',
description='Sample cx_Freeze PyQt5 script',
options=options,
executables=executables
)
每次我制作一些 pyqt5 应用程序时都会收到来自链接的错误,甚至很简单 我真的不知道我应该如何编写这个设置文件。
【问题讨论】: