我正在尝试在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的类似问题有关,并且没有遇到过任何有用的问题。
答案 0 :(得分:0)