美文网首页我爱编程
Linux +python 链接oracle 报错

Linux +python 链接oracle 报错

作者: 蒜泥狠 | 来源:发表于2018-05-28 16:12 被阅读0次

  编辑时间2018-05-28

问题:

cx_Oracle.DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: "d:\app\sabre\product\11.2.0\client_1\bin\oci.dll is not the correct architecture". See https://oracle.github.io/odpi/doc/installation.html

解决办法

python 2.7 版本下载的cx_oracel 版本6.2.1 版本过高,办法

conda  uninstall  cx_oracel

conda list cx_oracel

conda info cx_oracel

conda  install cx_oracel=5.2.1

运行看看不报错成功

相关文章

网友评论

    本文标题:Linux +python 链接oracle 报错

    本文链接:https://www.haomeiwen.com/subject/ueygjftx.html