oscarmlage.com

djangonaut, sysadmin and father x2

User Tools

Site Tools


temp

This is an old revision of the document!


$ apt-get install curl build-essential python-pip
$ pip install pythonbrew
~/.bashrc
...
[[ -s "$HOME/.pythonbrew/etc/bashrc" ]] && source "$HOME/.pythonbrew/etc/bashrc"
$ . ~/.bashrc
$ pythonbrew install 2.7.3
# pythonbrew list
# pythonbrew pythons
  Python-2.7.3

# pythonbrew switch 2.7.3
Switched to Python-2.7.3

# python
Python 2.7.3 (default, Apr 26 2017, 17:27:20)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
temp.1493220412.txt.gz · Last modified: 2017/04/26 15:26 by Oscar M.