You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version of Ubuntu, **comes with Python 2.7 out of the box**. Python 3.2 can be installed and run with the following commands::
6
+
7
+
$ sudo apt-get install python3-minimal
8
+
$ python3
9
+
10
+
Older versions of Python aren't available from the official repository. However, if it's needed (for example to support legacy code), we can add an unsupported repository and install an older version of Python (2.5 in the example below)::
11
+
12
+
$ sudo apt-get install python-software-properties
13
+
$ sudo add-apt-repository ppa:fkrull/deadsnakes
14
+
$ sudo apt-get update
15
+
$ sudo apt-get install python2.5
16
+
17
+
Installing setuptools and pip
18
+
-----------------------------
19
+
20
+
While Python has an extensive standard library, the set of packages available from the Internet is even more extensive. In order to install them easily, we'll install the ``distribute`` package and then ``pip``::
0 commit comments