cx_Oracle 未在 Oracle 上安装 Linux

cx_Oracle not installing on Oracle Linux

我正在尝试在 Oracle Linux 上安装 cx_Oracle,但出现以下错误:

Downloading/unpacking cx-Oracle
  Running setup.py egg_info for package cx-Oracle
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip-build-root/cx-Oracle/setup.py", line 183, in <module>
        raise DistutilsSetupError("cannot locate Oracle include files")
    distutils.errors.DistutilsSetupError: cannot locate Oracle include files
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip-build-root/cx-Oracle/setup.py", line 183, in <module>

    raise DistutilsSetupError("cannot locate Oracle include files")

distutils.errors.DistutilsSetupError: cannot locate Oracle include files

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-root/cx-Oracle

这是我的日志文件:https://gist.github.com/beckah/695810cc9535a9734878

我已经合法地尝试了几乎所有类似问题的答案,主要与 cx_Oracle 和 Centos 的类似问题有关,但没有遇到任何有效的方法。

这个教程很有用,救了我的命:http://ubuntugeeknerd.blogspot.com/2013/08/how-to-install-oxoracle-in-rhel-64-bit.html