cx_Oracle - ImportError: DLL load failed: The specific module could not be found
来源:互联网 发布:mac pro type c 编辑:程序博客网 时间:2024/06/07 01:10
After installing python2.6 32 bit and cx_Oracle5.1.2-11g.win32-py2.6.msi on XP system on which has no Oracle server installed, try "import cx_Oracle", it reports "ImportError: DLL load failed: The specific module could not be found"
Root cause:
1) After using "dependency walker" against cx_Oracle.pyd, it reports missing "MSVCR100.DLL", "oci.dll" etc DLLs.
2) After searching and read the README.txt of cx_Oracle, it is clear that cx_Oracle depends on Oracle (instant) client.
Solution:
1) Download "Microsoft Visual C++ 2010 Redistributable Package (x86)" from "http://www.microsoft.com/en-us/download/details.aspx?id=5555" for "MSVCR100.DLL" and install it.
2) Download Oracle Instant Client from "http://www.oracle.com/technetwork/indexes/downloads/index.html", unpack the zip file and place it somewhere say "C:\Python26\instantclient_12_1"
3) Setup "ORACLE_HOME" env which points to the Oracle Instant Client directory, say ORACLE_HOME=C:\Python26\instantclient_12_1
4) Done
Reference:
http://blog.csdn.net/huzhenwei/article/details/3946308
- cx_Oracle - ImportError: DLL load failed: The specific module could not be found
- OpenCV3.1 + Python2.7 error "DLL load failed: The specified module could not be found"
- monogame Unable to load DLL 'openal32.dll': The specified module could not be found
- Python module “cx_Oracle” module could not be found
- The specified module could not be found
- The specified module could not be found
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- GetModuleFileName False failed with error 126 (The specified module could not be found)
- There is a problem starting qcCoInstaller.dll The specified module could not be found
- cx_Oracle ImportError: DLL load failed: 找不到指定的模块 解决
- import cx_Oracle,ImportError: DLL load failed: 找不到指定的模块
- cx_oracle ImportError: DLL load failed: 找不到指定的程序
- The language dll 'vb6chs.dll' could not be found !
- the language dll 'vbe6int.dll' could not be found
- IIS出现The specified module could not be found解决方法
- IIS出现The specified module could not be found解决方法
- Python cx_Oracle - import not a valid win32 app or ImportError: No module named cx_Oracle Found
- JavaIO之管道(一)
- methods that start with "copy", "create", "new", "alloc", or "retain"
- JavaIO之标准输入输出(一)
- C++函数的参数及其传递方式学习笔记
- 各种排序算法及复杂度稳定性分析(一)
- cx_Oracle - ImportError: DLL load failed: The specific module could not be found
- oracle using 和on的用法不同处
- 在Eclipse安装Aptana插件
- JavaIO之ByteArrayStream(一)
- [CF 219D]Choosing Capital for Treeland[树形DP]
- BNU16495:Light Bulbs
- 编程之美:二进制中的1
- Linux内核设计艺术笔记(一)
- 弯曲的手指