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
version.

Hope that helps.

Anthony

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 <sonnyji...@yahoo.com> wrote:
> Hi,
> 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!
>
> --Sonny
>
> ==================================================
> 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)]
> 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.
>>>> import sys
>>>> print (sys.path)
> ['', 'C:\\Python26\\lib\\site-packages',
> 'C:\\WINDOWS\\system32\\python26.zip',
> 'C:\\python26\\DLLs', 'C:\\python26\\lib', 'C:\\python26\\lib\\plat-win',
> 'C:\\p
> ython26\\lib\\lib-tk', 'C:\\python26']
>>>>
>
> _______________________________________________
> DB-SIG maillist  -  db-...@python.org
> http://mail.python.org/mailman/listinfo/db-sig
>
>
_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to