So Tired !_! 逆水行舟, 不进则退!

19Sep/12

在ubuntu中升级python版本

$ python -V
Python 2.6.6
$ curl -kL https://raw.github.com/utahta/pythonbrew/master/pythonbrew-install | bash
$ . $HOME/.pythonbrew/etc/bashrc
$ pythonbrew install 2.7.1
$ pythonbrew switch 2.7.1
Switched to Python-2.7.1
$ python -V
Python 2.7.1

前提是要先安装curl
anyShare分享到:
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.

site