ITeye博客

安装cx_Oracle过程中出现的问题及解决方法

frenchmay · 2011-05-27 09:24 · python · 编程语言 · Windows · XP · Access · Oracle · Python · Markdown

Windows xp python 2.7 oracle 客户端9.0 服务器客户端11g

安装cx_Oracle过程中出现的问题

cx_Oracle.InterfaceError: Unable to acquire Oracle environment handle

下载\instantclient_10_2 然后把里面的动态链接库都复制到C:\Python27\Lib\site-packages下

cx_Oracle.DatabaseError: ORA-12705: Cannot access NLS data files or invalid

environment specified 把注册表里\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE 本级和下级目录下的NLS_lang 的

NA值修改为SIMPLIFIED CHINESE_CHINA.ZHS16GBK;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。