1 Reply Latest reply: Apr 29, 2009 9:23 AM by 390020 RSS

    ImportError: DLL load failed: The specified procedure could not be found.

    milivojm
      Hi,

      I am new to Python. I'd like to try and connect to Oracle 10.2.0.4 database using Python. I have Oracle 10g client installed. When I try to import cx_Oracle I get the error below.

      If anyone can help me how to solve this, I will be grateful.


      C:\Users\milivojm>set path
      Path=C:\Oracle\OraClient10g\bin;C:\Oracle\OraClient10g\jre\1.4.2\bin\client;C:\O
      racle\OraClient10g\jre\1.4.2\bin;C:\Oracle;C:\Oracle\OraOdac11g;C:\Oracle\OraOda
      c11g\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program File
      s\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\CollabNet Subversion;C:\P
      rogram Files\jZip;C:\Program Files\QuickTime\QTSystem\;D:\Python\

      C:\Users\milivojm>python
      Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
      win32
      Type "help", "copyright", "credits" or "license" for more information.
      import cx_Oracle
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      ImportError: DLL load failed: The specified procedure could not be found.
      exit()
      C:\Users\milivojm>dir c:\Oracle\OraClient10g\bin\
      Volume in drive C has no label.
      Volume Serial Number is B0A4-2659

      Directory of c:\Oracle\OraClient10g\bin

      21.11.2008 15:29 <DIR> .
      21.11.2008 15:29 <DIR> ..
      06.03.2004 03:19 108.920 cemutls.exe
      27.01.2004 04:49 86.124 COREJAVA.DLL
      21.11.2008 15:28 1.024 emca.bat
      08.03.2004 17:15 52.552 extjob.exe
      08.03.2004 17:15 52.552 extjobo.exe
      07.02.2004 22:52 28.672 launch.exe
      21.11.2008 15:27 659 lbuilder.bat
      27.01.2004 06:47 81.948 LCSSCAN.EXE
      27.01.2004 06:46 43.064 LMSGEN.EXE
      08.03.2004 17:12 16.656 loadpsp.exe
      06.03.2004 03:20 96.592 lsnodes.exe
      27.01.2004 06:46 68.556 LXEGEN.EXE
      27.01.2004 06:46 276.908 LXINST.EXE
      21.11.2008 15:28 484 mkstore.bat
      21.11.2008 15:27 1.149 netca.bat
      21.11.2008 15:27 108 netca_deinst.bat
      08.03.2004 17:59 188.416 oci.dll
      08.03.2004 17:16 32.768 ociw32.dll
      10.02.2004 13:13 110.592 ODBTREEVIEW.OCX
      21.04.2005 04:13 864.256 oip10.dll
      21.04.2005 04:05 75.500 oip10.tlb
      21.11.2008 15:27 525 olsadmintool.bat
      21.11.2008 15:27 546 olsoidsync.bat
      10.02.2004 13:12 73.728 OO4OADDIN.DLL
      10.02.2004 13:12 69.632 OO4OCODEWIZ.DLL
      10.02.2004 13:12 20.480 OO4OCODEWIZ.EXE
      21.04.2005 04:05 24.576 oraansi10.dll
      21.11.2008 15:27 34 oracle.key
      05.03.2004 19:15 20.480 OracleAdNetConnect.exe
      05.03.2004 19:15 24.576 OracleAdNetConnectRCUS.dll
      05.03.2004 19:16 24.576 OracleAdNetTest.exe
      05.03.2004 19:16 24.576 OracleAdNetTestRCUS.dll
      08.03.2004 16:39 1.909.008 oraclient10.dll
      21.04.2005 04:14 241.664 oraclm32.dll
      10.03.2004 16:09 749.840 oracommon10.dll
      27.01.2004 04:49 688.400 ORACORE10.DLL
      06.03.2004 03:16 57.616 oradbcfg10.dll
      10.02.2004 13:17 386 oradc.lic
      21.04.2005 04:13 102.400 oradc.ocx
      08.03.2004 16:39 4.235.536 orageneric10.dll
      14.03.2004 10:43 327.952 orahasgen10.dll
      26.03.2004 17:11 77.824 oraimr10.dll
      05.03.2004 19:14 45.056 orajmisc.dll
      27.01.2004 17:16 278.800 oraldapclnt10.dll
      27.01.2004 17:16 258.320 oraldapjclnt10.dll
      27.01.2004 06:46 37.136 ORALXLED.DLL
      05.03.2004 19:25 946.448 oran10.dll
      05.03.2004 19:15 37.136 oranad10.dll
      05.03.2004 19:11 33.040 oranbeq10.dll
      05.03.2004 19:12 24.848 ORANCDS10.DLL
      05.03.2004 19:11 94.480 orancrypt10.dll
      05.03.2004 19:11 24.848 oranhost10.dll
      05.03.2004 19:11 33.040 oranipc10.dll
      05.03.2004 19:12 143.632 oranjni10.dll
      05.03.2004 19:11 180.496 oranl10.dll
      13.03.2004 03:40 74.000 oranldap10.dll
      10.03.2004 20:42 33.040 oranldapj10.dll
      27.01.2004 06:45 586.000 ORANLS10.DLL
      12.03.2004 01:23 1.544.353 oranmemso.dll
      05.03.2004 19:11 33.040 orannmp10.dll
      05.03.2004 19:12 28.944 orannzentr10.dll
      05.03.2004 19:12 28.944 ORANNZMCS10.DLL
      05.03.2004 19:11 962.832 orannzsbb10.dll
      05.03.2004 19:12 53.520 oranoncj10.dll
      05.03.2004 19:10 221.456 oranro10.dll
      05.03.2004 19:12 37.136 oransgr10.dll
      05.03.2004 19:11 49.424 orantcp10.dll
      05.03.2004 19:12 49.424 ORANTCPS10.DLL
      05.03.2004 19:11 24.848 orantns10.dll
      05.03.2004 19:13 28.944 oranzts10.dll
      06.03.2004 03:16 209.168 oraocr10.dll
      14.03.2004 20:50 147.728 oraocrb10.dll
      21.04.2005 03:54 438.272 OraOLEDB10.dll
      21.04.2005 03:54 1.608 OraOLEDB10.tlb
      21.04.2005 03:55 24.576 OraOLEDB10us.dll
      21.04.2005 03:53 131.072 OraOLEDBgmr10.dll
      21.04.2005 03:54 32.768 OraOLEDBpus10.dll
      21.04.2005 03:45 24.576 OraOLEDBrfc10.dll
      21.04.2005 03:46 24.576 OraOLEDBrmc10.dll
      21.04.2005 03:53 139.264 OraOLEDBrst10.dll
      21.04.2005 03:43 24.576 OraOLEDButl10.dll
      21.11.2008 15:28 483 orapki.bat
      08.03.2004 17:07 1.052.944 ORAPLP10.DLL
      08.03.2004 17:06 2.867.472 ORAPLS10.DLL
      04.02.2004 00:10 28.944 ORASLAX10.DLL
      27.01.2004 06:46 69.904 ORASNLS10.DLL
      11.03.2004 21:35 483.600 ORASQL10.DLL
      09.03.2004 21:46 61.712 orasrvm10.dll
      06.03.2004 03:17 143.632 orasrvmhas.dll
      27.01.2004 06:45 78.096 ORAUNLS10.DLL
      27.01.2004 04:49 28.944 orauts.dll
      27.01.2004 04:49 830 orauts.sym
      08.03.2004 16:39 24.848 oravsn10.dll
      03.02.2004 07:56 10.240 orawsec9.dll
      03.02.2004 23:58 1.473.868 ORAXML10.DLL
      30.09.1999 17:43 2.478 orclcontainer.bmp
      30.09.1999 17:43 2.478 orclcontext.bmp
      03.08.1999 19:00 246 orcldbserver.bmp
      30.09.1999 18:10 3.310 orclnetservice.bmp
      24.02.2004 13:11 57.344 OsUtils.dll
      10.03.2004 19:17 60.280 sclsspawn.exe
      21.11.2008 15:29 321 selecthome.bat
      21.11.2008 15:28 266 selecthome.bat.oo4o
      21.11.2008 15:29 55 selecthome.bat.oraoledb
      27.10.2004 10:14 434.176 sqora32.dll
      27.10.2004 10:16 65.536 sqoras32.dll
      27.10.2004 10:16 32.768 sqresus.dll
      21.11.2008 15:28 3.433 targetdeploy.pl
      05.03.2004 19:17 37.084 TNSPING.EXE
      21.11.2008 15:28 260 trcasst.bat
      30.11.1999 12:32 145.408 unzip.exe
      16.07.1998 18:36 104.448 zip.exe
      112 File(s) 25.228.632 bytes
      2 Dir(s) 8.552.009.728 bytes free