Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions docs/starting/installation.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
Properly Installing Python
==========================

Any Platform (with Pythonbrew)
::::::::::::::::::::::::::::::

Pythonbrew is a version manager for Python which makes it easy to install
Python and have multiple versions alongside each other, and switch between
them. If you are familiar with RVM for Ruby, it's like that. To install Pythonbrew, ::

$ curl -kL http://github.com/utahta/pythonbrew/raw/master/pythonbrew-install | bash

You are now presented with further setup instructions. Next, installing Pythons is simple: ::

$ pythonbrew install 2.7.1 # installs Python 2.7.1
$ pythonbrew install 3.1.2 # ... and Python 3, if you like

And you can switch to a pythonbrew install and make it your default Python interpreter like so: ::

$ pythonbrew switch 2.7.1 # makes Python 2.7 default, ignoring any system defaults

Finally, this lets you use a certain Python in your shell: ::

$ pythonbrew use 3.1.2

And that's about it; pythonbrew will take care of the rest!


Mac OS X
::::::::

Expand Down