Both commands can be executed directly:
the sudo-Update Alternatives --install / usr / bin / Python Python / usr / bin / 100 python2
the sudo-Update Alternatives --install / usr / bin / Python Python / usr / bin / to python3 150
to switch to Python2, perform:
the sudo Update-Python Alternatives --config
prompted to select a digital input enter.
the sudo-Update Alternatives --install / usr / bin / Python Python / usr / bin / 100 python2
the sudo-Update Alternatives --install / usr / bin / Python Python / usr / bin / to python3 150
to switch to Python2, perform:
the sudo Update-Python Alternatives --config
prompted to select a digital input enter.