python cx_Oracle error:Unable to acquire Oracle environment handle
来源:互联网 发布:linux autostart 编辑:程序博客网 时间:2024/04/28 14:04
环境:windows7、python-32位、oracle instant client-32位
错误表现:
cx_Oracle连接Oracle数据库的时候报错:
cx_Oracle.InterfaceError: Unable to acquire Oracle environment handle
但是用sqlplus、plsql developer连接数据库都正常
我的解决办法:将instantclient目录下的所有*.dll文件拷贝到Python27\Lib\site-packages目录下,问题解决
下载网址:http://www.oracle.com/technetwork/cn/database/features/instant-client/index-097480.html
需要oracle账号,没有的注册一下
0 0
- python cx_Oracle error:Unable to acquire Oracle environment handle
- cx_Oracle: unable to acquire oracle environment handle
- cx_Oracle InterfaceError: Unable to acquire Oracle environment handle
- Unable to acquire Oracle environment handle
- Unable to acquire Oracle environment handle
- Unable to acquire Oracle environment handle 问题的解决
- 【flask】Unable to acquire Oracle environment handle 报错
- 使用pyinstaller打包成exe之后运行闪退,调试后报出 Unable to acquire Oracle environment handle错误解决方法
- QCC10000E -Unable to allocate environment handle
- Startup Error: Unable to detect graphics environment
- quest启动就报错"QCC10000E -Unable to allocate environment handle" 修改path
- ERROR: JDWP Unable to get JNI 1.2 environment
- ERROR: JDWP Unable to get JNI 1.2 environment
- ERROR: JDWP Unable to get JNI 1.2 environment
- ERROR: JDWP Unable to get JNI 1.2 environment
- ERROR: JDWP Unable to get JNI 1.2 environment
- ERROR: JDWP Unable to get JNI 1.2 environment解决办法
- ERROR: JDWP Unable to get JNI 1.2 environment
- Error:Server sent an unsupported extension: type_35
- 命令模式(command pattern)
- c# 11章
- 运维中被低估的日志
- [研发管理]如何做好小团队的开发规范?
- python cx_Oracle error:Unable to acquire Oracle environment handle
- 一句话概括下spring框架及spring cloud框架主要组件
- ajax返回乱码后的中文乱码使用eval函数解决方案
- 移动端(手机)1像素边框真正实现
- wordpress搭建小结
- RDD应用API---parallelize、Array、reduce、distinct、filter
- Struts2体系结构图以及详解
- 如何判断js中的数据类型
- 大数相乘