Friday, May 19, 2017

How to change Python 3 version as default in UBUNTU

$ sudo update-alternatives --config python

If you get the error "no alternatives for python" then set up an alternative yourself with the following command:
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10

No comments:

Post a Comment