[DB-SIG] Help! ImportError: DLL load failed: The specified procedure could not be found
anthony.tuininga at gmail.com
Mon May 4 17:41:27 CEST 2009
The version mismatch referred to is not for __Python__ but for the
Oracle client. Can you be more precise as to which Oracle version you
are using? There is a big difference between 10g Release 1 and 2. The
version labeled 10g is for 10g Release 2, not 1. If you cannot upgrade
your client or install a more recent instant client, use the 9i
Hope that helps.
P.S. The best place to post questions about cx_Oracle is probably on
the cx_Oracle mailing list.
On Mon, May 4, 2009 at 8:36 AM, Sonny Jiang <sonnyjiang at yahoo.com> wrote:
> I am still having this error. I saw from postings a couple of years ago that
> said it might be version mismatch. But I tried several combinations but
> still no progress.
> Oracle: 10g
> Python: 2.6 (also tried 3.0 with corresponding cx_Oracle download)
> cx_Oracle: 5.0.1 (also tried 5.0, 4.4.1)
> When I do >>>help('modules'), cx_Oracle shows up there.
> Please help. THANK YOU!
> SQL> quit
> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0
> - Production
> With the Partitioning, OLAP and Data Mining options
> C:\Documents and Settings\Songnian Jiang>python -V
> Python 2.6.2
> C:\Documents and Settings\Songnian Jiang>python
> Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
> 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.
>>>> import sys
>>>> print (sys.path)
> ['', 'C:\\Python26\\lib\\site-packages',
> 'C:\\python26\\DLLs', 'C:\\python26\\lib', 'C:\\python26\\lib\\plat-win',
> ython26\\lib\\lib-tk', 'C:\\python26']
> DB-SIG maillist - DB-SIG at python.org
More information about the DB-SIG