python连接oracle

首先需要在cmd命令行输入命令安装py连接oracle数据库的依赖包

pip install cx_Oracle

代码如下:

报错如下:

解决方法

在下面网址寻找与自己版本对应的远程连接客户端

https://www.oracle.com/database/technologies/instant-client/downloads.html

将所有的dll文件放到你的python环境下

再次执行刚才的程序(成功)

Cannot locate a 64-bit Oracle Client library:The specified module could not be found.相关推荐

  1. DPI-1047:Cannot locate a 64-bit Oracle Client library:The specified module could not be found

    解决python cx_Oracle模块DPI-1047:Cannot locate a 64-bit Oracle Client library: 通过python的cx_Oracle模块连接服务器 ...

  2. cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library:

    首先确定pthon版本和oracle客户端版本一致即可,即都为64位或都为32位. 但我这里要讲的是如何解决这个问题的过程: 在python中的报错中提示了这个: DPI-1047: Cannot l ...

  3. python cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library

    问题: python 使用包cx_Oracle连接Oracle数据,出现错误cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Orac ...

  4. cx_Oracle.DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded 解决方法

    cx_Oracle.DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded 解决方法 参考文章: (1)cx_Or ...

  5. cx_Oracle.DatabaseError: DPI-1072: the Oracle Client library version is unsupported 已解决

    python3在使用cx_Oracle的时候报错了,并且是一致都好好的,突然就报错. Traceback (most recent call last):File "D:/python/wo ...

  6. python-cx_oracle报错“DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: “

    问题的主要原因是python-cx_oracle加载的是32位的instantclient-basic,我们需要让他读到64位的. 弄清版本,最重要!!! 首先安装配置时,必须把握一个点,就是版本一致 ...

  7. [解决方案]Windows系统报错cx_Oracle.DatabaseError: DPI-1072: the Oracle Client library version is unsupported

    安装好instantclient https://pan.baidu.com/s/1lMo3v0wluy1rMoK26o0A9A 复制dll 将安装好的instantclient目录下的所有dll复制 ...

  8. 判断oracle客户端是32还是64,64位-如何知道已安装的Oracle Client是32位还是64位?

    64位-如何知道已安装的Oracle Client是32位还是64位? 操作系统:Windows 2008 Server R2 Oracle客户端:11.2 非常感谢 8个解决方案 73 votes ...

  9. Oracle Client安装

    Oracle Client安装 文件下载,双击setup.exe文件(以管理员方式运行,注意:) 闪退不要慌!贵在坚持! 选择安装类型:管理员 #选择语言 #设置安装目录 执行先决条件检查,也可以选择 ...

  10. 使用Oracle instantClient代替Oracle Client安装

    使用Oracle instantClient代替Oracle Client安装 目录 使用Oracle instantClient代替Oracle Client安装 #Oracle instantCl ...

最新文章

  1. telnetd运行需要什么条件_申请日本研究生需要什么条件
  2. 10分钟搞定 Java 并发队列
  3. python各个解释器的用途-常用的五种Python解释器|老男孩网络Python学习课程
  4. 【Flutter】Dart 面向对象 ( 抽象类 | 抽象方法 )
  5. 解密谷歌机器学习工程最佳实践——机器学习43条军规 翻译 2017年09月19日 10:54:58 98310 本文是对Rules of Machine Learning: Best Practice
  6. Visual Studio下包含多项目的解决方案及项目间引用
  7. classpath和classpath*区别
  8. 把你的火狐浏览器改成Chrome样式
  9. python是什么-了解什么是Python面向对象(1)
  10. b站黑马springCloud-常见面试题,多多三连
  11. MySQL数据备份恢复太慢解决办法
  12. DGPS和RTK的区别
  13. 第十三周项目2(1)
  14. 戴尔服务器收集硬件日志的工具dest
  15. 在ubuntu用wine安装微信 并解决无法输入文字的问题 ubuntu完美安装微信
  16. 简易火锅店点餐结算小程序
  17. 我的世界服务器怎么开启坐标显示,坐标 - Minecraft Wiki,最详细的官方我的世界百科...
  18. 最终服务器的信息接收及响应,ehlo详解
  19. Window alert() 方法
  20. 七夕送什么礼物会让对方惊喜呢!2022最全情人节礼物指南

热门文章

  1. 通用变频器的保护功能及故障处理
  2. 第六篇:A133 用DragonSN工具刷SN号,MAC地址细节问题
  3. Thinkpad E475换装Win7后,网络连接无故中断无法再次连接的问题
  4. python四则运算表达式,用Python自动生成小学四则运算题目2.0版
  5. MongoDB下载与安装
  6. Pano2VR热点热区热点替换
  7. java cobar_alibaba的COBAR真是强大.
  8. 内网隐蔽隧道之DNS隧道搭建(iodine)
  9. 网络七层及四层协议通俗详解
  10. 基于spring boot的人民医院体检预约系统