[Tutor] ImportError: DLL load failed

Chad Crabtree flaxeater at yahoo.com
Tue Sep 28 03:11:32 CEST 2004


Ajay wrote:

>Quoting Gus Tabares <gustabares at verizon.net>:
>
>  
>
>>Did you try running the Python script from the command line?
Usually it
>>will
>>tell you the DLL that you are missing.
>>    
>>
>
>the code i posted earlier, is the DLL that it cannot find. i
compiled it to
>a DLL and when i import it i get the DLL load failed error, even
though the
>path to is in sys.path
>
>could it be because it can't find the OpenSSL dll's? i added the
path to
>\OpenSSL which contains the dll's, to my sys.path before i tried
importing
>my dll.
>
>i really cant understand whats throwing the error. i have already
run tests
>on the OpenSSL dll's and they all work fine. my code built fine. so
why
>does import give an error?
>
>  
>
Well maybe OpenSSL needs to be in $PATH, or $LIB or something or
other 
are you using *nix or Win?


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


More information about the Tutor mailing list