Python 2.7 在windows上安装cx\U Oracle时出错
我正在尝试在windows中安装python的cx_Oracle模块。 我不断收到下面提到的错误:找不到Oracle软件安装 我需要什么样的Oracle软件才能使cx_Oracle模块正常工作 --------------------------------------------------------------------- distutils.errors.DistutilsSetupError:找不到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
清理。。。 命令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 " \