처음 stackoverflow를 사용하므로 쉽게 이동하십시오. 이전의 컴퓨터에서 py2exe를 사용하기 전에 정상적으로 작동했습니다. 불행히도 내 새로운 하나 exe를 사용하려고 할 때. 파일이 작동하지 않습니다. .py 파일을 변환하려고 할 때 이러한 오류가 발생합니다.py2exe - "다음 모듈이 누락 된 것처럼 보입니다."
from 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 distribute them.
Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.
OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
USER32.dll - C:\WINDOWS\system32\USER32.dll
SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
GDI32.dll - C:\WINDOWS\system32\GDI32.dll
VERSION.dll - C:\WINDOWS\system32\VERSION.dll
ole32.dll - C:\WINDOWS\system32\ole32.dll
어떤 아이디어? 나는 그 문제에 대한 답을 찾는 것 같지 않기 때문에 온라인으로 보는 것을 포기했습니다. 나는 약간 도움을 위해 아주 고맙게 여길 것입니다.
난 그냥 같은 코드를 실행, 그것은 누락 된 모듈 오류를 포기하지 않았다. 무엇 py2exe를 다시 설치하려고합니다. – TheCreator232