Saturday, April 26, 2014

OpenSSL DLL load failed On Windows - Python

The DLL load failed error happened when cherrypy tried the following import: "from OpenSSL import SSL"

ChannelFailures: VerificationError("importing 'C:\\\\Python27\\\\lib\\\\site-packages\\\\cryptography\\\\_Cryptography_c
ffi_48bbf0ebx93c91939.pyd': DLL load failed: %1 is not a valid Win32 application.",)

These error messages are solved with this install: http://slproweb.com/download/Win32OpenSSL-1_0_1g.exe

If you have a 32-bit version of python, that install will move the correct DLLs to your system32 folder.

No comments:

Post a Comment