This page (revision-4) was last changed on 2021-08-30 06:28 by Murray Altheim

This page was created on 2021-04-15 23:32 by Murray Altheim

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 2021-08-30 06:28 2 KB Murray Altheim to previous
3 2021-04-29 00:08 2 KB Murray Altheim to previous | to last
2 2021-04-16 02:14 2 KB Murray Altheim to previous | to last
1 2021-04-15 23:32 1 KB Murray Altheim to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 changed one line
To prepeare to upgrade to a newer version of Python, first make sure your Pi is up to date, as well as install the various development packages:
Most Linux installations include a version of both Python 2 and 3.
You can view your current default version of Python (version 2) using the command:
At line 7 added 18 lines
% python -V
}}}
This will respond with something akin to:
{{{
Python 2.7.16
}}}
You can also check your version of Python 3:
{{{
% python3 -V
}}}
with the response being akin to:
{{{
Python 3.7.3
}}}
To prepare to upgrade to a newer version of Python, first make sure your Pi is up to date, as well as install the required development packages:
{{{
At line 24 changed one line
if you don't want the newly-installed version to be the default version on your Pi. The latter is an __absolute requirement__ on Ubuntu (for example), as if you replace the default version of Python you __will__ disable/break your OS (e.g., see [How to Install Python 3.8 on Ubuntu|https://tech.serhatteker.com/post/2019-12/how-to-install-python38-on-ubuntu/]). On a Raspberry Pi this isn't so far as I have seen a problem.
if you don't want the newly-installed version to be the default version on your Pi. The latter is an __absolute requirement__ on a typical Ubuntu desktop (for example), as if you replace the default version of Python you __will__ disable/break your OS (e.g., see [How to Install Python 3.8 on Ubuntu|https://tech.serhatteker.com/post/2019-12/how-to-install-python38-on-ubuntu/]). On a Raspberry Pi this isn't so far as I've seen a problem. But note that I typically use a console (headless), not a desktop.
At line 30 changed one line
You must be patient. On a Pi 4, this can take a long time; on a 3 B+ a very long time. On a Pi Zero basically overnight.
You must be patient. On a Pi 4, this can take a long time, around 20 minutes; on a 3 B+ a very long time. On a Pi Zero basically overnight.