作者:wyzf88_987 | 来源:互联网 | 2023-05-19 04:55
Itrytomakeamsiformyprogramewithcx_Freezeusepython3.5(setup.pybdist_msi,andgetthism
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 个解决方案