1
py2exe를 사용하여 python 응용 프로그램을 만들었습니다. 내 빌드 환경에서이 exe/응용 프로그램을 실행할 때 제대로 작동합니다. 1. 윈도우 8.1 RTM (64 비트) 2. 파이썬 (2.7 AMD64) 3 : 내가 깨끗한 컴퓨터에서 실행하려고 할 때, 그것은 나에게 내가 사용하고ImportError : DLL로드 실패 : 지정한 모듈을 찾을 수 없습니다.
Traceback (most recent call last):
File "wx\_misc.pyc", line 1358, in Notify
File "wx\_core.pyc", line 14771, in Notify
File "invesalius.py", line 174, in Startup
File "gui\frame.pyc", line 30, in <module>
File "constants.pyc", line 25, in <module>
File "project.pyc", line 31, in <module>
File "vtk\__init__.pyc", line 43, in <module>
File "vtkIOPython.pyc", line 12, in <module>
File "vtkIOPython.pyc", line 10, in __load
ImportError: DLL load failed: The specified module could not be
found.
Traceback (most recent call last):
File "wx\_misc.pyc", line 1358, in Notify
File "wx\_core.pyc", line 14771, in Notify
File "invesalius.py", line 82, in Startup2
AttributeError: 'SplashScreen' object has no attribute 'control'
Traceback (most recent call last):
File "invesalius.py", line 197, in OnClose
AttributeError: 'SplashScreen' object has no attribute 'fc'
,하는 오류를 제공합니다. 대상 시스템에서 파이썬 런타임을 필요로 같은 py2exe에 (0.6.10a1)
모든 의견이 크게 감사합니다 ...
답장을 보내 주셔서 감사합니다. 대상 컴퓨터에 Python 런타임 환경이 있고 종속성 워커에서 모든 dll과 exe를 검사했습니다.하지만 열심히 운이 ..이 워커는 일부 Windows DLL 오류를 표시합니다. 나는 그 dll을 너무 제공했다. .. 그러나 did not는 일한다. dll에 특정한 오류 메시지를 제공하지는 않습니다. – user1234
PATH가 올바르게 설정되어 있기 때문에 새로 추가 된 DLL이 종속성 워커에 표시됩니다. 그렇다면 Python이 DLL을 명시 적으로로드하고있는 것일 수 있습니다. 이 경우 strace와 같은 것을 사용하여 어떤 파일을로드하려고하는지 알아 내려고합니다. – Choi