[Win7]cx_Oracle 找不到指定模块错误解决
2010-08-06 15:24
453 查看
环境:
Windows7
Python 2.6.2
cx_Oracle 5.0.4
Oracle Instant Client 10.2.0
a)常规方法解压Oracle Instant Client文件到指定目录
b)设置环境变量
c)设置tnsnames.ora
d)pl/sql developer可以登录远程Oracle数据库
安装cx_Oracle,在python里面import cx_Oracle,提示:
>>> import cx_Oracle
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import cx_Oracle
ImportError: DLL load failed: 找不到指定的模块。
网上搜索一番都在说复制oracle目录的oci.dll等文件到$python_home/Lib/site-packages即可。
反复尝试未果。
偶见一网文说复制oci.dll到$python_home
(比如c:/python26),将信将疑操作后发现竟然可以了。
特此记录。
Windows7
Python 2.6.2
cx_Oracle 5.0.4
Oracle Instant Client 10.2.0
a)常规方法解压Oracle Instant Client文件到指定目录
b)设置环境变量
c)设置tnsnames.ora
d)pl/sql developer可以登录远程Oracle数据库
安装cx_Oracle,在python里面import cx_Oracle,提示:
>>> import cx_Oracle
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import cx_Oracle
ImportError: DLL load failed: 找不到指定的模块。
网上搜索一番都在说复制oracle目录的oci.dll等文件到$python_home/Lib/site-packages即可。
反复尝试未果。
偶见一网文说复制oci.dll到$python_home
(比如c:/python26),将信将疑操作后发现竟然可以了。
特此记录。
相关文章推荐
- cx_Oracle ImportError: DLL load failed: 找不到指定的模块 解决 -->复制oci.dll到$python_home
- cx_Oracle ImportError: DLL load failed: 找不到指定的模块 解决
- Win7中64位IIS运行32位Asp.net提示错误:未能加载文件或程序集或它的某一个依赖项,系统找不到指定的文件(已解决)
- 卸载VS2011 Developer Preview后Sql Server2008 R2建立数据库关系图报“找不到指定的模块”错误的解决方法
- ax文件regsvr32注册提示“找不到指定的模块”,installutil注册提示“本地目录找不到XXX.ax”错误的解决方法
- MATLAB在调用C/C++程序成功,使用opencv库时出错,错误显示“找不到指定模块”(问题未解决)
- 系统错误:&H8007007E(-2147024770)。 找不到指定的模块。解决
- Apache启动时报php_ldap.dll找不到指定的模块错误的解决
- Windows7中安装驱动程序时 出现错误信息找不到指定模块的解决
- 卸载VS2011 Developer Preview后Sql Server2008 R2建立数据库关系图报“找不到指定的模块”错误的解决方法
- python中cx_Oracle模块安装遇到的问题与解决方法
- 64位oracle数据库安装32位plsql解决方法/关于win7 x64 连接oracle 客户端 VS2010调试 提示“ORA-12154: TNS: 无法解析指定的连接标识符 ”
- 解决安装驱动程序时提示“Windows已经找到设备的驱动程序,但在试图安装它时遇到错误”“系统找不到指定路径”问题。
- Linux搭建python环境中cx_Oracle模块安装遇到的问题与解决方法
- 解决:服务器无法加载应用程序 '/LM/W3SVC'。错误是 '找不到指定的元数据'。
- 解决-win10系统-python3中import cv2显示"ImportError: DLL load failed: 找不到指定的模块。"
- 64位WIN7下plsql报 ORA-12154:TNS:无法解析指定的连接标志符 错误的解决方法
- C#调用非托管DLL时遇到“找不到指定的模块”问题解决方法
- 安装cx_Oracle模块步骤以及出现问题解决,还有中文乱码情况
- win7 64位 安装 oracle 11g R2 后,链接数据库报 ORA-21505错误的解决。