http://legacy.python.org/ftp//python/2.7.6/Python-2.7.6.tgz
tar -jxvf Python-2.7.6.tar.bz2
cd Python-2.7.6
./configure
make all
make install
make clean
make distclean
/usr/local/bin/python2.7 -V
mv /usr/bin/python /usr/bin/python2.6.6
ln -s /usr/local/bin/python2.7 /usr/bin/python
python -V
python 2.7 安装
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
python3 super 用法2
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta