Last active
October 22, 2018 12:21
-
-
Save 63phc/39a9514c80bd10ec590c4e543e33326c to your computer and use it in GitHub Desktop.
del python and install
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
sudo rm -rf /Library/Frameworks/Python.framework | |
cd /usr/local/bin | |
ls -l . | grep '../Library/Frameworks/Python.framework' | awk '{print $9}' | xargs sudo rm | |
sudo rm -rf "/Applications/Python x.y" | |
# install | |
tar xvf Python-3.6.3.tgz | |
cd Python-3.6.3 | |
./configure | |
make | |
make altinstall | |
# ERROR - Not able to install Python packages [SSL: TLSV1_ALERT_PROTOCOL_VERSION] | |
curl https://bootstrap.pypa.io/get-pip.py | python | |
pip install --upgrade pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment