第一次使用stackoverflow,请放轻松。我以前在我的旧电脑上用过py2exe,它工作得很好。不幸的是,当我试图用它在我的新的一个exe。文件不起作用。我在试图转换.py文件时遇到这些错误。
我的设置.pyfrom distutils.core import setup
import py2exe
setup(windows=['Test.py'])
我的Test.py转换为exe。def Test():
print 'TEST'
Test()
我收到的错误:The following modules appear to be missing
['IronPythonConsole', 'System', 'System.Windows.Forms.Clipboard', '_scproxy', 'c
lr', 'console', 'modes.editingmodes', 'pyreadline.keysyms.make_KeyPress', 'pyrea
dline.keysyms.make_KeyPress_from_keydescr', 'pyreadline.keysyms.make_keyinfo', '
pyreadline.keysyms.make_keysym', 'startup']
*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distri