Python 3.10 on Ubuntu 24.04 LTS

Most AI tooling runs on older versions of Python. In order to run the AI software on a new Ubuntu OS, there need to be some extra work done besides running an 'apt install python3.10'. Follow the next steps to get up everything up and running.
Installation
Open a terminal by hitting the windows button and type 'cmd'. Hit enter.
To make it possible to install python 3.10, the following repository needs to be added:
sudo add-apt-repository ppa:deadsnakes/ppa -y
Refresh the apt sources list by running the following:
sudo apt update
Now install python 3.10:
sudo apt install python3.10 python3.10-venv -y
Check if python 3.10 exists:
python3.10 --version
Member discussion