2
我无法通过pip或来源安装cx_oracle。错误是一样的。 来源: Traceback (most recent call last): File "setup.py", line 174, in <module> raise DistutilsSetupError("cannot locate an Oracle software " \ distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation
在Mac OS上为python安装cx_oracle
由PIP:
pip install cx_oracle Collecting cx_oracle Using cached cx_Oracle-5.2.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/private/var/folders/3w/q8kdj8j16h1_2d91_th3j6pc0000gn/T/pip-build-gva4v7dp/cx-oracle/setup.py", line 170, in raise DistutilsSetupError("cannot locate an Oracle software " \ distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/3w/q8kdj8j16h1_2d91_th3j6pc0000gn/T/pip-build-gva4v7dp/cx-oracle/
OS X埃尔卡皮坦版本10.11.5
谢谢你的问题。我以为我安装了它。但是我没有将它的路径添加到$ PATH var。 – coreer