//查看python版本
$ python -VPython 2.6.6
//可下载python版本
$ curl -kL https://raw.github.com/utahta/pythonbrew/master/pythonbrew-install | bash$ . $HOME/.pythonbrew/etc/bashrc
//安装python
$ pythonbrew install 2.7.1$ pythonbrew switch 2.7.1
//切换python
Switched to Python-2.7.1$ python -V
Python 2.7.1
Python安装路径 /home/yjhuang/.pythonbrew/pythons/