Created
September 13, 2020 19:52
-
-
Save JeffLabonte/7661653ff33e03d30b7969ec2248e924 to your computer and use it in GitHub Desktop.
How to set your python interpreter with debian `update-alternatives`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Arguments rundown: | |
# 1 -> The symbolic link that will be created | |
# 2 -> the name of the alternative, in this case python | |
# 3 -> The executable that you want to link ( Argument #1 ) | |
# 4 -> The priority of this alternative | |
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment