
Python 3.7.3, linked to /usr/bin/python3 (“python3”).Python 2.7.6, which is linked to the command /usr/bin/python (“python” in short).On the older version (Buster, or Legacy), Raspberry Pi OS comes with two versions: It means that using the “python” or “python3” command will do the same thing when executing a script.Īt the time of writing, Raspberry Pi OS Bullseye comes with Python 3.9.2, but this is updated regularly in new images and system updates. On the current release of Raspberry Pi OS (Bullseye), only Python 3 is installed by default. Get 10% off by downloading it today! What is the default Python version on Raspberry Pi OS? Raspberry Pi without Python is like a car without an engine, you miss all the fun parts. It will guide you step-by-step to learn the essential concepts (and only the essential concepts) required to achieve any project in the future.
WHICH VERSION OF PYTHON DOES THONNY USE INSTALL
Let’s start by checking which versions are installed on your Raspberry Pi, and then how you can use a different one by default (or install a new one if needed).īy the way, if you get overwhelmed as soon as Python is required for a project, I recommend checking out my e-book “ Master Python on Raspberry Pi“.

This link can be updated with another version if needed. A symbolic link is created to use the default version with the main command (/usr/bin/python). Several versions of Python can be installed on the same Raspberry Pi.

In this article, I will give you all the information to know the current version installed, install another one and change the default Python executable. With new releases all the time, it can be tough to keep it updated, or at the right version for your applications. Python is an important element for a Raspberry Pi, with many projects relying on it.
