I try to make a msi for my programe with cx_Freeze use python3.5( setup.py bdist_msi ,and get this massege
我尝试用cx_Freeze(设置)来为我的程序做一个msi。py bdist_msi,得到这个massege。
Screenshot:
截图:
Here is my setup.py:
这是我的setup . py:
import sys
import os
from cx_Freeze import setup, Executable
build_exe_options = {"optimize": 2,"include_files": ["Frame.py"]}
base = None
if sys.platform == 'win32':base = 'Win32GUI'
os.environ['TCL_LIBRARY'] = r'D:\Python35\tcl\tcl8.6'
os.environ['TK_LIBRARY'] = r'D:\Python35\tcl\tk8.6'
executables = [Executable(script='Frame.py',base=base,)]
can you help me?
你能帮我吗?
1 个解决方案
#1
0
Try removing the extra ,
after base, in this line:
试着在这条线上去掉多余的碱基后:
executables = [Executable(script='Frame.py',base=base,)]
Make it:
让它:
executables = [Executable(script='Frame.py',base=base)]
#1
0
Try removing the extra ,
after base, in this line:
试着在这条线上去掉多余的碱基后:
executables = [Executable(script='Frame.py',base=base,)]
Make it:
让它:
executables = [Executable(script='Frame.py',base=base)]