发布时间:2019-08-28 09:10:29编辑:auto阅读(2577)
安装开发工具包:
yum groupinstall "Development tools"
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel
安装Python2.7:
wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
tar -xf Python-2.7.3.tar.bz2 & cd Python-*
make & make altinstall
安装distribute:
wget http://pypi.python.org/packages/source/d/distribute/distribute-0.6.35.tar.gz
tar xf distribute-0.6.35.tar.gz & cd distribute*
python2.7 setup.py install
安装ipython:
easy_install-2.7 ipython
安装MySQLdb:
yum -y install mysql-devel
easy_install-2.7 MySQL-python
上一篇: Python 判断文件是否存在和权限
下一篇: 41. Python Queue 多进
55116
41918
36501
31906
26813
26482
25020
20643
16552
15965
3179°
2875°
2969°
3120°
3052°
3327°
3225°
3056°
3049°
3027°