安装oracle-instantclient11.1-basic-11.1.0.7.0-1.x86_64.rpm之后
centos 7 pip安装cx_oracle。错误:
setup.py,line 144,in FindInstantClientRPMInclude
raise DistutilsSetupError("cannot locate Oracle Instant Client")
distutils.errors.DistutilsSetupError:
cannot locate oracle instant client sdk rpm header files为什么?
发布于 2016-01-22 04:07:28
您不需要设置任何环境变量。但您确实需要确保还安装了instantclient devel包!
发布于 2015-12-09 01:48:38
您可能需要设置一个环境变量(当然,请为您的系统使用正确的路径)
第一次尝试
export LD_RUN_PATH=/opt/oracle/instantclient_12_1如果这不起作用,请尝试
export ORACLE_HOME=/opt/oracle/instantclient_12_1https://stackoverflow.com/questions/34152132
复制相似问题