cx_Oracle throws: ImportError: DLL load failed: This application has failed to start ...

Chris Angelico rosuav at gmail.com
Sun Nov 24 12:18:16 EST 2013


On Mon, Nov 25, 2013 at 4:12 AM, Ruben van den Berg
<rubenvandenberg1978 at gmail.com> wrote:
> ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
>
> I then ran Dependency Walker on cx_Oracle.pyd. Its first complaint was about msvcr80.dll. However, this file is present in C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_0de56c07. (I believe it's part of the MS Visual Studio C++ 2008 package which I installed.)

Welcome to DLL hell...

There is one thing I would suggest: Check to see if you've matched the
word size (32-bit vs 64-bit) for Python and all the DLLs. You can't
(normally) load a 64-bit DLL into a 32-bit process or vice versa.

ChrisA



More information about the Python-list mailing list