Edit the bash profile and add an alias using the following code
1 | $ nano ~/.bashrc |
Put the following line of code in .bashrc
file and alter the python3.6 path as per your new installation
1 | alias python='/usr/local/bin/python3.6' |
Use CTRL x
to exit and save
After that you need to reload the source, so use the following command and you are good to go.
1 | $ source ~/.bashrc |
Leave a Reply