change python version ubuntu

41

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.4 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 2
sudo update-alternatives --config python3
sudo update-alternatives --config python
sudo update-alternatives --config python

Comments

Submit
0 Comments