python的编译环境_准备Python编译环境

标签:

2.1下载Python2.7.6.tgz、ipython1.2.1.tgz、sqlite-autoconf-3071401.tar.gz

2.2安装Python2.7.6、ipython1.2.1.tgz、sqlite-autoconf-3071401.tar.gz

2.3安装前准备

yum -y install readline-devel gcc

2.4编译安装Python2.7.6

tar -zxvf Python2.7.6.tgz

cd Python2.7.6

./configure --prefix=/usr/local/python27

make && make install

2.5编译安装ipython1.2.1

tar -zxvf ipython1.2.1.tgz

cd ipython1.2.1

/usr/local/python27/bin/python2.7 setup.py build

/usr/local/python27/bin/python2.7 setup.py install

2.6创建链接

ln -sv /usr/local/python27/bin/python2.7 /usr/bin/python27

ln -sv /usr/local/python27/bin/ipython /usr/bin/

2.7编译安装sqlplit-autoconf

tar -zxvf sqlite-autoconf-3071401.tar.gz

cd sqlite-autoconf-3071401

./configure --prefix=/usr/local

make && make install

标签:

原文地址:http://www.cnblogs.com/flyback/p/5836187.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值