I just downloaded Python 3.6.1, but when I type python3 -V
in the terminal it\'s still Python 3.5.3
. How can I make python3
point to
If you are looking for other than the accepted answer. Here is the solution that saved my life. This is to replace it with new version.
$ python3 --version
Python 3.5.2
$ ls -lh /usr/bin/python3
lrwxrwxrwx 1 root root 9 Mar 23 2016 /usr/bin/python3 -> python3.5
$ sudo mv /usr/bin/python3 /usr/bin/_python3
$ sudo cp /usr/bin/python3.6 /usr/bin/python3
$ python3 --version
Python 3.6.11