首页 > 解决方案 > 错误“pip install boto3”

问题描述

$ pip install boto3
Collecting boto3
  Could not fetch URL https://pypi.python.org/simple/boto3/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
  Could not find a version that satisfies the requirement boto3 (from versions: )
No matching distribution found for boto3

标签: pythonmacosamazon-web-servicespipboto3

解决方案


升级点如下:

curl https://bootstrap.pypa.io/get-pip.py | python

它可能对你有用,也许你必须执行sudo python


推荐阅读