简体   繁体   English

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

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

I have created a python application using py2exe. 我已经使用py2exe创建了一个python应用程序。 when i run this exe/application on my build environment, it works properly. 当我在构建环境中运行此exe /应用程序时,它可以正常工作。 But when i try to run it on clean machine, it gives me a error that, 但是当我尝试在干净的机器上运行它时,出现了一个错误,

                   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'

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

Any comments will be greatly appreciated... 任何意见将不胜感激...

Sounds like you need a python runtime on the target machine. 听起来您需要在目标计算机上使用python运行时。 Does the error message give you any more information about the missing DLL? 错误消息是否为您提供有关缺少的DLL的更多信息? If there is no further information, there is a Dependency Walker program (depends.exe) that may help you identify the missing dll. 如果没有更多信息,则有一个Dependency Walker程序(depends.exe)可帮助您识别丢失的dll。

暂无
暂无

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

相关问题 Skilearn导入错误:DLL加载失败:找不到指定的模块 - Skilearn ImportError: DLL load failed: The specified module could not be found 对象检测 - 导入错误:DLL 加载失败:找不到指定的模块 - Object detection - ImportError: DLL load failed: The specified module could not be found ImportError:DLL加载失败:在PyCharm中找不到指定的模块 - ImportError: DLL load failed: The specified module could not be found in PyCharm Windows 上的 Tensorflow - ImportError:DLL 加载失败:找不到指定的模块 - Tensorflow on windows - ImportError: DLL load failed: The specified module could not be found tensorflow 2.3.1 导入错误:DLL 加载失败:找不到指定的模块 - tensorflow 2.3.1 ImportError: DLL load failed: The specified module could not be found Windows,ImportError:DLL加载失败:找不到指定的模块 - windows, ImportError: DLL load failed: The specified module could not be found anaconda3中的ImportError:DLL加载失败:找不到指定的模块 - ImportError in anaconda3 : DLL load failed: The specified module could not be found ImportError: DLL 加载失败:在 python 中找不到指定的模块 - ImportError: DLL load failed: The specified module could not be found in python ImportError: DLL 加载失败:找不到指定的模块? - ImportError: DLL load failed: The specified module could not be found? 导入错误:DLL 加载失败:找不到指定的模块。(Keras) - ImportError: DLL load failed: The specified module could not be found.(Keras)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM