Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 2.7 在windows上安装cx\U Oracle时出错_Python 2.7_Cx Oracle - Fatal编程技术网

Python 2.7 在windows上安装cx\U Oracle时出错

Python 2.7 在windows上安装cx\U Oracle时出错,python-2.7,cx-oracle,Python 2.7,Cx Oracle,我正在尝试在windows中安装python的cx_Oracle模块。 我不断收到下面提到的错误:找不到Oracle软件安装 我需要什么样的Oracle软件才能使cx_Oracle模块正常工作 --------------------------------------------------------------------- distutils.errors.DistutilsSetupError:找不到Oracle软件安装 清理。。。 命令python setup.py egg\u i

我正在尝试在windows中安装python的cx_Oracle模块。 我不断收到下面提到的错误:找不到Oracle软件安装

我需要什么样的Oracle软件才能使cx_Oracle模块正常工作

--------------------------------------------------------------------- distutils.errors.DistutilsSetupError:找不到Oracle软件安装


清理。。。 命令python setup.py egg\u info失败,错误代码为1,位于c:\users\ndhaka~1.ora\appdata\local\temp\pip\u build\u ndhaka\cx Oracle中
在C:\Users\ndhaka.ORADEV\pip\pip.log中存储故障调试日志

您需要在计算机上安装Oracle客户端,因为cx\U Oracle只是Python和Oracle客户端之间的桥梁。 我也遇到了同样的问题,通过从安装即时客户端解决了我的问题 请确保将兼容版本(32或64位)安装到您的系统中


按照此链接中的所有步骤进行操作,您的机器将完美地安装cx_Oracle模块

“第二个类似的东西坏了,”勒纳说。
C:\Users\ndhaka.ORADEV>pip install cx_Oracle
Downloading/unpacking cx-Oracle
Running setup.py (path:c:\users\ndhaka~1.ora\appdata\local\temp\pip_build_ndhaka\cx-Oracle\setup.py) egg_info for package cx-Oracle
Traceback (most recent call last):
  File "<string>", line 17, in <module>
  File "c:\users\ndhaka~1.ora\appdata\local\temp\pip_build_ndhaka\cx-Oracle\setup.py", line 135,in <module>
    raise DistutilsSetupError("cannot locate an Oracle software " \
distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
raise DistutilsSetupError("cannot locate an Oracle software " \