我正在尝试在我的窗口中安装python的cx_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.ORADEV\pip\pip.log中存储调试日志
发布于 2014-09-12 06:40:38
您需要在计算机上安装Oracle,因为cx_Oracle只是连接的桥梁。我也有同样的问题,并通过从这里安装即时客户端来解决我的问题,请确保将兼容版本(32或64位)安装到您的系统中。
按照这个链接中的所有步骤,您将在您的机器上完美地安装cx_Oracle模块。链接
https://stackoverflow.com/questions/25802178
复制相似问题