![]() ![]() ![]() If you want python pointing to 3rd version, you could use the same, but the last command should be: sudo ln -s /usr/bin/python3 /usr/bin/python ![]() Sudo ln -s /usr/bin/python2 /usr/bin/python To achieve the same, use: sudo ln -s /usr/bin/python2.7 /usr/bin/python2 ~/.bashrcĪs you can see below, my python points to python2, python2 points to python2.7. As suggested in comments, you could create an alias as follows: alias python='python3'īy adding it to the ~/.bashrc file at the end of this file, exiting and reloading it in the current terminal using the next command. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |