[ftputil] M2Crypto running error
Stefan Schwarzer
sschwarzer at sschwarzer.net
Fri Dec 29 17:53:02 CET 2006
Hi Vedran,
On 2006-12-29 14:49, Vedran wrote:
> I was install M2Crypto-0.17beta1.win32-py2.4,and when I run it, I get
> the error:
>
>>>> import M2Crypto
>
> Traceback (most recent call last):
> File "<pyshell#0>", line 1, in -toplevel-
> import M2Crypto
> File "C:\Python24\Lib\site-packages\M2Crypto\__init__.py", line 14,
> in -toplevel-
> import __m2crypto
> ImportError: DLL load failed with error code 182
I've googled for the error (also with more general search terms)
but found nothing that seemed helpful. I think you tried the
same, but I just wanted to look. ;-)
Some questions that might lead to the cause of the error:
- Does the Python version of the M2Crypto package (2.4 in your
case) match the Python version installed on your system?
- Do you have another Windows system which you can test with
matching Python and M2Crypto versions?
- Does it help to reinstall M2Crypto? If it works then, it's
perhaps not a clean solution but it might help. Perhaps a
previous installation had been interrupted.
- Is the DLL in a directory which is actually searched for
DLLs? Try to start a Python interpreter (not the pyshell)
from the directory containing the DLL; i. e. the current
directory is the directory containing the DLL. Does the
import work now?
- Can you find any information on the Microsoft Website on
what the error means?
Stefan
More information about the ftputil
mailing list