繁体   English   中英

ImportError:DLL加载失败:找不到指定的模块

[英]ImportError: DLL load failed: The specified module could not be found

我已经使用py2exe创建了一个python应用程序。 当我在构建环境中运行此exe /应用程序时,它可以正常工作。 但是当我尝试在干净的机器上运行它时,出现了一个错误,

                   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'

我正在使用:1. Windows 8.1 RTM(64位)2. python(2.7 amd64)3. py2exe(0.6.10a1)

任何意见将不胜感激...

听起来您需要在目标计算机上使用python运行时。 错误消息是否为您提供有关缺少的DLL的更多信息? 如果没有更多信息,则有一个Dependency Walker程序(depends.exe)可帮助您识别丢失的dll。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM