import cx_Oracle [英] import cx_Oracle

查看:118
本文介绍了import cx_Oracle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在cx_Oracle和相关的Python工具之后,2.2.2 +

在Win2000上的Boa构造函数,我添加了

import cx_Oracle

到测试脚本的顶部。

它给出了一个关于无法在''oci.dll'中找到OCISetDefault条目

点的错误。

Google对此错误一无所知,cx_Oracle作者也没有说。

任何人都有这个问题的解决方案吗?


-


-

GrayGeek

解决方案

>它给出了一个错误,即无法在''oci.dll''中找到OCISetDefault条目

点。




cx_Oracle可以工作常规oracle客户端的顶部,你需要在它工作之前安装
。 OCI库是其中的一部分。


BernardDelmée写道:

它给出了一个关于无法在''oci.dll'中找到OCISetDefault条目点的错误。



cx_Oracle在常规oracle客户端之上工作,你需要在它工作之前安装它。 OCI库是其中的一部分。




我安装了它,并使用它来创建使用Oracle的

HTP的网页.P函数,我还从JDev9

和PLSQLDeveloper访问Oracle9服务器上的表。 oci.dll位于Oracle Home / dll目录中。

正如我的第一篇帖子所示,cx_Oracle能够看到oci.dll,它只是不能

正确沟通。

???

-


-

GrayGeek


GrayGeek写道:

BernardDelmée写道:

它给出了一个关于无法在''oci.dll'中找到OCISetDefault条目的错误。



cx_Oracle在常规oracle客户端上工作,你需要在它工作之前安装。 OCI库是parOCISetDefault t。



我安装了它,并使用它来创建使用Oracle的HTP.P功能的网页,我也是从JDev9和PLSQLDeveloper访问Oracle9服务器上的表。 oci.dll位于Oracle Home / dll目录中。
正如我的第一篇帖子所示,cx_Oracle能够看到oci.dll,它无法正常与之通信。
???



i认为二进制文件是针对另一个版本的oracle构建的。

i与DCOracle2有类似的问题(版本8.0.5与8.1) .7或

7.3.3 vs. 8.0.5)。

据我所知,OCISetDefault是一个有问题的符号。


After cx_Oracle and the related Oracle tools for Python 2.2.3 +
Boa-constructor on Win2000, I added
"import cx_Oracle"
to the top of a test script.
It gives me an error about being unable to find the OCISetDefault entry
point in ''oci.dll''.
Google says nothing about this error, and neither does the cx_Oracle author.
Anyone have a solution for this problem?

--

-
GrayGeek

解决方案

> It gives me an error about being unable to find the OCISetDefault entry

point in ''oci.dll''.



cx_Oracle works on top of the regular oracle client, which you''ll
need to install before it works. The OCI libraries are part of that.


Bernard Delmée wrote:

It gives me an error about being unable to find the OCISetDefault entry
point in ''oci.dll''.



cx_Oracle works on top of the regular oracle client, which you''ll
need to install before it works. The OCI libraries are part of that.



I have it installed, and have used it to create webpages using Oracle''s
HTP.P function, and I also accessed tables on the Oracle9 server from JDev9
and from PLSQLDeveloper. The oci.dll is in the Oracle Home/dll directory.
As my first post indicated, cx_Oracle is able to see oci.dll, it just can''t
communicate with it properly.
???
--

-
GrayGeek


GrayGeek wrote:

Bernard Delmée wrote:

It gives me an error about being unable to find the OCISetDefault entry
point in ''oci.dll''.



cx_Oracle works on top of the regular oracle client, which you''ll
need to install before it works. The OCI libraries are parOCISetDefault t of that.


I have it installed, and have used it to create webpages using Oracle''s
HTP.P function, and I also accessed tables on the Oracle9 server from JDev9
and from PLSQLDeveloper. The oci.dll is in the Oracle Home/dll directory.
As my first post indicated, cx_Oracle is able to see oci.dll, it just can''t
communicate with it properly.
???


i think that the binaries were built against another version of oracle.
i had a similar problem with DCOracle2 (versions 8.0.5 vs. 8.1.7 or
7.3.3 vs. 8.0.5).
As far as i remember OCISetDefault was one of the problematic symbols.


这篇关于import cx_Oracle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆