Unlike previous versions of Ubuntu, Ubuntu 18.04 does not have Python 2 pre-installed, it ships with Python 3.6.7 instead. In this video you’ll learn how to update Python 3.6.7 to the latest Python 3.7 release.
Installing Python on Ubuntu Linux 18.04
And in this case, it’s a little out of date and it needs to be updated. On Ubuntu 18, Python 3.7 is in the standard repositories, so it’s merely a case of
sudo apt-get update and putting in a password for the first time.
And then once that update is complete,
sudo apt-get install python3.7 idle-python3.7 will get the software you need installed.
y will confirm that you want to install it, and then it will be downloaded and installed automatically.
Become a Member to join the conversation.