Osx installation pip error

  1. sudo easyinstall pip error
  2. python version is included in the system 2.7.10 , openssl version is OpenSSL 0.9.8zh 14 Jan 2016 , macos is 10.12.6
  3. specific error reports are as follows:
$ sudo easy_install-2.7 pip
Password:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn"t find index page for "pip" (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse("pip")

guess is the problem of ssl . I searched the Internet and didn"t come across a useful plan. Ask for assists

.
Mar.18,2021

curl 'https://bootstrap.pypa.io/get-pip.py' > get-pip.py

 sudo python get-pip.py

just perform the above two steps ~ qin test

 sudo easy_install pip

try homebrew:

brew install pip3


get python, to install an anaconda can save a lot of installation troubles


osx, brew this artifact can not be without


you open the prompt of this website address to know, redirect, in easy_install.py to modify these two URLs to the URL after the redirect, the URL is https, you need to install ssl

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bf09-2b018.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bf09-2b018.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?