Here is a snippets from my python shell, i can't understand what is wrong there, if somebody has any suggestion i would be glad to hear.
>>> import pydbg
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\pydbg\__init__.py", line 47, in <module>
from pydbg import *
File "C:\Python27\lib\pydbg\pydbg.py", line 32, in <module>
import pydasm
ImportError: DLL load failed: The specified module could not be found.
>>> import pydasm
>>>
how come that i can't import pydbg since there it can't import pydasm, and i can import pydasm directly ?
我能够通过删除pydbg的site-packages目录中的pydasm.pyd来解决此问题。
Move your pydbg
directory from C:\\Python27\\lib\\
to C:\\Python27\\lib\\site-packages\\
, the standard installation location for 3rd party packages. Alternatively, try the unofficial pydbg binaries from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pydbg .
Find pydasm
for the python version you are running. I think that pydbg
comes with pydasm
for python2.6. I don't know why.
I found pydasm
for python 2.7 on the Internet. You can also find information about how to convert it yourself. I am not getting any errors but I still struggle with pydbg
so I am not sure if this is the solution.
If you are running python2.7 try this: http://blog.csdn.net/qq_lhz/article/details/6922130
Maybe you can try my precompiled binaries of PyDasm for Python 2.7:
https://breakingcode.wordpress.com/2012/04/08/quickpost-installer-for-beaenginepython/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.