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
Copy file name to clipboardExpand all lines: docs/source/preamble/python/installing_python.rst
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Installing Python on Ubuntu
7
7
If you change or try to tinker with the default Python version of Ubuntu, your system will most likely **BREAK COMPLETELY**.
8
8
Do not play around with the default Python installation, because Ubuntu depends on it to work properly (or work at all).
9
9
10
-
In Ubuntu 22.04, Python is already installed!
10
+
In Ubuntu, Python is already installed!
11
11
In fact, Ubuntu would not work without it. Let's check its version by running
12
12
13
13
.. code-block:: console
@@ -18,9 +18,9 @@ which should output
18
18
19
19
.. code-block:: console
20
20
21
-
Python 3.10.6
21
+
Python 3.12.3
22
22
23
-
If the :code:`3.10` part of your version is different (e.g. :code:`3.9` or :code:`3.11`\), get this fixed because this tutorial will not work for you.
23
+
If the :code:`3.12` part of your version is different, this tutorial might not work for you. Please make sure to use the default Python in your Ubuntu.
24
24
25
25
.. warning::
26
26
Note that the command is :program:`python3` and not :program:`python`. In fact, the result of
@@ -50,13 +50,13 @@ which should output something similar to
50
50
51
51
.. code-block:: console
52
52
53
-
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux
53
+
Python 3.12.3 (main, Jun 18 2025, 17:59:45) [GCC 13.3.0] on linux
54
54
Type "help", "copyright", "credits" or "license" for more information.
55
55
>>>
56
56
57
-
in particular, if the :code:`GCC 11` is different, e.g. :code:`GCC 9` or :code:`GCC 12`\,then get this fixed because this tutorial will not work for you.
57
+
in particular, if the :code:`GCC 13` is different, then this tutorial might not work for you.
58
58
59
-
As you already know, to exit the `interactive shell <https://docs.python.org/3.10/tutorial/interpreter.html>`_ you can use :kbd:`CTRL+D` or type :code:`quit()` and press :kbd:`ENTER`.
59
+
As you already know, to exit the `interactive shell <https://docs.python.org/3.12/tutorial/interpreter.html>`_ you can use :kbd:`CTRL+D` or type :code:`quit()` and press :kbd:`ENTER`.
60
60
61
61
Some Python packages must be installed through :program:`apt`
0 commit comments