【问题标题】:DatabaseError: DPI-1072: the Oracle Client library version is unsupportedDatabaseError:DPI-1072:不支持 Oracle 客户端库版本
【发布时间】:2020-12-31 02:10:35
【问题描述】:

您好,我使用的是 OCI 8.0 版和 python 3.6.5 版 我安装了 cx_Oracle-8.0.1-cp36-cp36m-win32.whl

import cx_oracle

adding hostname, portnumber, servicename, username, password

一切都很好。尝试连接:

DatabaseError: DPI-1072: the Oracle Client library version is unsupported.

我必须使用什么版本?

【问题讨论】:

标签: python oracle cx-oracle


【解决方案1】:

将环境变量DPI_DEBUG_LEVEL 设置为值64 并尝试再次连接。这应该为您提供有关正在加载哪个库的信息。如果这些信息不足以让您发现问题的根源,请在您的问题中分享此信息!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-02-28
    • 1970-01-01
    • 1970-01-01
    • 2022-11-07
    • 1970-01-01
    • 1970-01-01
    • 2020-07-12
    • 2011-08-25
    相关资源
    最近更新 更多