Size: 2328
Comment:
|
Size: 2383
Comment: wiki restore 2013-01-23
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#acl All:read | |
Line 5: | Line 4: |
Line 7: | Line 7: |
First of all check that you don't already have Python installed by entering '''python''' in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any recent version will do, as Python makes every attempt to maintain backwards compatibility. |
|
Line 12: | Line 8: |
If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version of Python 2 is [[http://www.python.org/download/releases/2.7.1/|Python 2.7.1]]. The current stable version of Python is [[http://python.org/download/releases/3.2/|Python 3.2]. |
First of all check that you don't already have Python installed by entering '''python''' in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any recent version will do, as Python makes every attempt to maintain backwards compatibility. If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version of Python 2 is [[http://www.python.org/download/releases/2.7.3/|Python 2.7.3]]. The current stable version of Python 3 is [[http://python.org/download/releases/3.2.3/|Python 3.2.3]]. |
Line 19: | Line 16: |
'''If you're running Windows''': the most stable Windows download (Python 2) is [[http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi|Python 2.7.1 for Windows]]. |
|
Line 23: | Line 17: |
For Python 3 it is [[http://python.org/ftp/python/3.2/python-3.2.msi|Python 3.2 for Windows]]. | '''If you're running Windows''': the most stable Windows download (Python 2) is [[http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi|Python 2.7.3 for Windows]]. For Python 3 it is [[http://python.org/ftp/python/3.2.3/python-3.2.3.msi|Python 3.2.3 for Windows]]. |
Line 26: | Line 20: |
'''If you're running Windows XP''': a complete guide to installing ActivePython is at [[http://www.richarddooling.com/index.php/2006/03/14/python-on-xp-7-minutes-to-hello-world/|Python on XP: 7 Minutes To "Hello World!"]]. ShowMeDo has [[http://showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries|two videos]] for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, ActivePython and SciPy distributions. |
'''If you're running Windows XP''': a complete guide to installing [[ActivePython|ActivePython]] is at [[http://www.richarddooling.com/index.php/2006/03/14/python-on-xp-7-minutes-to-hello-world/|Python on XP: 7 Minutes To "Hello World!"]]. [[ShowMeDo|ShowMeDo]] has [[http://showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries|two videos]] for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, [[ActivePython|ActivePython]] and [[SciPy|SciPy]] distributions. |
Line 30: | Line 22: |
'''If you are using a Mac''', see [[http://www.python.org/download/mac/|this page]]. MacOS 10.2 (Jaguar), 10.3 (Panther), 10.4 (Tiger) and 10.5 (Leopard) already include various versions of Python. |
'''If you are using a Mac''', see [[http://www.python.org/download/mac/|this page]]. MacOS 10.2 (Jaguar), 10.3 (Panther), 10.4 (Tiger) and 10.5 (Leopard) already include various versions of Python. |
Line 35: | Line 28: |
Line 36: | Line 30: |
Line 39: | Line 34: |
'''For other systems''', or '''if you want to install from source''', see the [[http://www.python.org/download/|general download page]]. |
'''For other systems''', or '''if you want to install from source''', see the [[http://www.python.org/download/|general download page]]. |
Downloading Python
Before you start, you will need Python on your computer, but you may not need to download it.
First of all check that you don't already have Python installed by entering python in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any recent version will do, as Python makes every attempt to maintain backwards compatibility.
If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version of Python 2 is Python 2.7.3. The current stable version of Python 3 is Python 3.2.3.
For advice on choosing between Python 2 and Python 3 see Python 2 or 3.
If you're running Windows: the most stable Windows download (Python 2) is Python 2.7.3 for Windows. For Python 3 it is Python 3.2.3 for Windows.
If you're running Windows XP: a complete guide to installing ActivePython is at Python on XP: 7 Minutes To "Hello World!". ShowMeDo has two videos for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, ActivePython and SciPy distributions.
If you are using a Mac, see this page. MacOS 10.2 (Jaguar), 10.3 (Panther), 10.4 (Tiger) and 10.5 (Leopard) already include various versions of Python.
For Red Hat, install the python2 and python2-devel packages.
For Debian or Ubuntu, install the python2.x and python2.x-dev packages.
For Gentoo, install the '=python-2.x*' ebuild (you may have to unmask it first).
For other systems, or if you want to install from source, see the general download page.