How to make python3 command run Python 3.6 instead of 3.5?

do

rm /usr/bin/python3
ln -s /usr/bin/python3.6 /usr/bin/python3

much better solution:

Damn, Python is used throughout much of Ubuntu for system scripts and software, and software relies on having Python (and the commands to start Python) in a certain spot. do back then.

rm /usr/bin/python3 
ln -s /usr/bin/python3.5 /usr/bin/python3 

create alias in ~/.bash_aliases

alias python3='/usr/bin/python3.6' 

Scripts can then start with something like:

#!/usr/bin/env python3 

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)