#install python3.10 (kali linux, but probably works on ubuntu) sudo apt install python3.10 #replace python3 command with python3.10 sudo mv `which python3.10` /usr/bin/python3