installing everything afresh
Change default Python version to 2.7 How to switch between alternative Python Versions step by step instructions https://linuxconfig.org/install-python-2-on-ubuntu-20-04-focal-fossa-linux First step is to check what python versions are available on your Ubuntu system. To do so execute the following command:$ ls /usr/bin/python* /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.7 /usr/bin/python3.7m /usr/bin/python3.8 /usr/bin/python3-futurize /usr/bin/python3m /usr/bin/python3-pasteurize Next, check if you already have some python alternatives configured. To do so run:sudo update-alternatives –list python update-alternatives: error: no