Zul*_*deh 2 python oracle django cx-oracle oracle11g
我想使用Django连接到Oracle数据库。它需要cx_Oracle模块。当我尝试安装cx_Oracle时,它要求将Oracle安装在当前服务器上。
[root@localhost cx_Oracle-5.2]# /opt/python2.7/bin/python setup.py install
Traceback (most recent call last):
File "setup.py", line 170, in <module>
raise DistutilsSetupError("cannot locate an Oracle software " \
distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation
Run Code Online (Sandbox Code Playgroud)
但是实际上我不需要此服务器上的Oracle,我的Oracle服务器是远程的。我怎么解决这个问题?