cx_Oracle 安装
一、conda install cx_Oracle
二、安装 Oracle Instant Client
1、下载了instantclient-basic-linux.x64-11.2.0.4.0.zip
mkdir -p /opt/oracle
cd /opt/oracle/
mv instantclient-basic-linux.x64-11.2.0.4.0.zip /opt/oracle/
unzip instantclient-basic-linux.x64-11.2.0.4.0.zip
2、将Instant Client永久添加到运行时链接路径
sudo sh -c "echo /opt/oracle/instantclient_11_2 > /etc/ld.so.conf.d/oracle-instantclient.conf"
sudo ldconfig
评论
发表评论