[英]Py2exe giving error
我正在尝试将tkinter打包到exe应用中,并收到以下错误消息。 请帮忙。
setup(
options ={'py2exe':{'bundle_files':3,'compressed':True}},
zipfile = None,
console = ['SApp.py'])
To exit: use 'exit', 'quit', or Ctrl-D.
An exception has occurred, use %tb to see the full traceback.
SystemExit: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option -f not recognized
使用标志-F而不是-f进行编译时,请尝试将其编译为单个文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.