Python cx\u Oracle未在Oracle Linux上安装

Python cx\u Oracle未在Oracle Linux上安装,python,linux,oracle,cx-oracle,Python,Linux,Oracle,Cx Oracle,我试图在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 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
下载/解包cx Oracle 正在为cx Oracle软件包运行setup.py egg\u info 回溯(最近一次呼叫最后一次): 文件“”,第16行,在 文件“/tmp/pip build root/cx Oracle/setup.py”,第183行,在 raise DistutilsSetupError(“找不到Oracle包含文件”) distutils.errors.DistutilsSetupError:找不到Oracle包含文件 从命令python setup.py egg_info完成输出: 回溯(最近一次呼叫最后一次): 文件“”,第16行,在 文件“/tmp/pip build root/cx Oracle/setup.py”,第183行,在 raise DistutilsSetupError(“找不到Oracle包含文件”) distutils.errors.DistutilsSetupError:找不到Oracle包含文件 ---------------------------------------- 命令python setup.py egg_info在/tmp/pip build root/cx Oracle中失败,错误代码为1 这是我的日志文件:


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

本教程非常有效,救了我的命: