开发者

Oracle and Python - cx_Oracle DLL load failed

开发者 https://www.devze.com 2023-02-12 03:11 出处:网络
Right I have Python 2.6.2 installed on my machine, I wish to access an Oracle 10g (10.2.0.1.0 to be precise) instance on the same network (not local machine)

Right I have Python 2.6.2 installed on my machine, I wish to access an Oracle 10g (10.2.0.1.0 to be precise) instance on the same network (not local machine)

I've installed the cx_Oracle module v5.0.4 from

http://prdownloads.sourceforge.net/cx-oracle/cx_Oracle-5.0.4-10g.win32-py2.6.msi?download

However if I load the python interpreter this is what I get when I try to import cx_Oracle

&g开发者_JAVA百科t;>> import cx_Oracle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.

Any ideas what I can do to fix this?

Paul


Ok it seems I needed to install the client version of oracle 10g. It's all fixed now :o)

0

精彩评论

暂无评论...
验证码 换一张
取 消