May-10-2017, 12:12 AM
It's obvious that you broke something in your system. The Kubuntu is Ubuntu system with KDE plasma desktop installed and perhaps some additional features so one can call it distro. If Ubuntu, Lubuntu, Xubuntu, Mint, Ubuntu-MATE work, Kubuntu should work too without glitches.
Try:
Try:
sudo apt update sudo apt install -f sudo apt upgradeRestart the system
sudo apt autoremove sudo apt autocleanAfter all of that reinstall Python.
sudo apt install --reinstall python python3Try to run the script again.