mac 安装pip报错

bogon:~ root# sudo easy_install pip
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')


用下面很快

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

 sudo python get-pip.py

  

 

相关文章:

  • 2021-11-12
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2021-08-14
  • 2021-11-12
  • 2022-12-23
猜你喜欢
  • 2021-05-23
  • 2021-06-09
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-10-26
相关资源
相似解决方案