Messed up with python installs

Hi,

Apologies as I am aware that this is not strictly an OSMC issue but I am pulling my hair out here and any help would be appreciated.

I had python 3.5 and 3.7.3 installed and noticed that sabnzbd was using 3.5 and not 3.7 so I tried to change the default python3 version to 3.7. I also updated the symlinks and that’s where everything went wrong. I’m not entirely sure where the multiple versions of python are installed so have probably borked the alternatives.

The alternatives are showing as:

Selection Path Priority Status

  • 0 /home/osmc/Python-3.7.3/python 12 auto mode
    1 /home/osmc/Python-3.7.3/python 12 manual mode
    2 /usr/bin/python2.7 1 manual mode
    3 /usr/bin/python3.5m 11 manual mode
    4 /usr/local/bin/python3.5 11 manual mode

Any help in sorting this would be greatly appreciated.