+ -
当前位置:首页 → 问答吧 → DLL load failed: The specified module could not be found.

DLL load failed: The specified module could not be found.

时间:2011-11-20

来源:互联网

请问,谁读过gray hat python ,python programming for hackers and reverse engineers这本书,我在读到第五章的时候遇到了困难,当我运行第5张的findinstruction.py 和 badchar.py时,总是出现如下问题:
Traceback (most recent call last):
  File "D:\Eclipse\workspace\badchar\src\badchar.py", line 1, in <module>
  from immlib import *
  File "D:\Python27\lib\immlib.py", line 16, in <module>
  import debugger
ImportError: DLL load failed: The specified module could not be found.


看这错误,我就在google code里面找到debugger.py,并且添加到python27/lib目录中,但总是出现这样的错误,请高手们帮帮小菜我一把,感激不尽……

作者: ciodragon   发布时间: 2011-11-20

你这样乱拷贝,不出问题就见鬼了。immlib.py也是直接拷过来的吧。

作者: iambic   发布时间: 2011-11-20

引用 1 楼 iambic 的回复:

你这样乱拷贝,不出问题就见鬼了。immlib.py也是直接拷过来的吧。

呃,是的,有什么办法吗

作者: ciodragon   发布时间: 2011-11-20

看文档。官网immlib的文档,安装步骤,支持的版本,依赖关系。不用追问我文档在哪里,具体怎么装。我也没用过。但像你随便搜一个文件然后拷到系统目录下就希望能成功运行的,这种习惯,绝对是无益于事的。

作者: iambic   发布时间: 2011-11-20