【发布时间】:2014-09-12 06:35:32
【问题描述】:
我正在尝试在我的 Windows 中安装 python 的 cx_Oracle 模块。 我不断收到下面提到的错误:找不到 Oracle 软件安装
我需要什么样的 Oracle 软件才能使 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):
文件“”,第 17 行,在
文件“c:\users\ndhaka~1.ora\appdata\local\temp\pip_build_ndhaka\cx-Oracle\setup.py”,第 135 行,
raise DistutilsSetupError("cannot locate an Oracle software " \
distutils.errors.DistutilsSetupError: 找不到 Oracle 软件安装
正在清理... 命令 python setup.py egg_info 失败,错误代码 1 在 c:\users\ndhaka~1.ora\appdata\local\temp\pip_build_ndhaka\cx-Oracle 在 C:\Users\ndhaka.ORADEV\pip\pip.log 中存储失败的调试日志
【问题讨论】:
标签: python-2.7 cx-oracle