Last active
February 4, 2020 15:49
-
-
Save gravitymonkey/9ef333ab7b58ba710e2b4ef894282e76 to your computer and use it in GitHub Desktop.
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
# set it to python 2 | |
rm /usr/bin/python | |
ln -s /usr/bin/python2.7 /usr/bin/python | |
python --version | |
yum update | |
# set it to python 3 | |
rm /usr/bin/python | |
ls /usr/bin/python* | |
ln -s /usr/bin/python3.7 /usr/bin/python | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment