Python导入cx_Oracle ImportError:DLL加载失败:找不到指定的模块

时间:2014-07-02 08:52:51

标签: python oracle cx-oracle

我已经在Django Framewrok(Python)中为Oracle连接安装了cx_Oracle 我安装了以下内容:

  1. Python 3.4.1(32位)
  2. cx_Oracle-5.1.2-11g.win32-py3.3(32位)
  3. Oracle 11.2.0.2服务器(32位)
  4. 我设置了环境变量ORACLE_HOME =" C:\ oraclexe \ app \ oracle \ product \ 11.2.0 \ server \ bin"(我的路径)

    在命令提示符中,我写了以下几行:

       Python
       import cx_Oracle
    
    

    但它显示了一个ImportError:

    Traceback (most recent call last):
      File "stdin", line 1, in module
    ImportError: DLL load failed: The specified module could not be found.

0 个答案:

没有答案