Created
October 4, 2020 05:24
-
-
Save akshilshah/46b0637888f9161eb31b4a7c21d207c1 to your computer and use it in GitHub Desktop.
Remove python 2.7 from ubuntu 18.04
This file contains 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
# Source: https://stackoverflow.com/questions/44602191/how-to-completely-uninstall-python-2-7-13-on-ubuntu-16-04 | |
# Remove python2 | |
sudo apt purge -y python2.7-minimal && | |
sudo ln -s /usr/bin/python3 /usr/bin/python && | |
sudo apt install -y python3-pip && | |
sudo ln -s /usr/bin/pip3 /usr/bin/pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great works well