Skip to content

Instantly share code, notes, and snippets.

@63phc
Last active October 22, 2018 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 63phc/39a9514c80bd10ec590c4e543e33326c to your computer and use it in GitHub Desktop.
Save 63phc/39a9514c80bd10ec590c4e543e33326c to your computer and use it in GitHub Desktop.
del python and install
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