


sudo apt update & sudo apt upgrade Step 2: Install Python 3.10 It’s now time to install the latest version of Python on your desktop. This solution fixes your problem without needing to tweak your system too heavily.Īs Mikael Kjær pointed out, this is a misconfiguration of ansible with your system. Step 1: Update Python To ensure a smooth installation process for Python, it is crucial first to update your Ubuntu system to ensure that all packages are current and up-to-date. Now when you type python3 xxx it gets translated to python3.6 xxx. For almost every Linux system, the following command could be used to install Python directly: sudo apt-get install python3. Just add this line in the file ~/.bashrc : alias python3="python3.6", then close your terminal and open a new one.

An easy answer would be to add an alias for python3.6. Python Software Engineer - Ubuntu Hardware Certification Team Canonical Bratislava, Bratislava, Slovakia Join or sign in to find your next job Join to apply for the Python Software Engineer.
