ITeye博客

Oracle Linux 5.5安装Python 2.73, cx_Oracle 5.12

icbm · 2014-01-31 20:35 · linux · oracle · python · 开源软件 · Markdown

1、安装Python 2.7.6

tar -xzvf Python-2.7.6.tar.gz -C /tmp
cd /tmp/Python-2.7.6
./configure -enable-shared
make
make install

2、安装cx_Oracle 5.1.2

tar -xzvf cx_Oracle-5.1.2.tar.gz -C /tmp
cd /tmp/cx_Oracle-5.1.2
export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/local/lib
python setup.py build
python setup.py install

参考文章: Python2.6 Cx_Oracle Linux下编译安装 http://www.cnblogs.com/ysisl/archive/2010/12/20/1911870.html

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。