python pip 安装失败 Could not find a version that satisfies the requirement APScheduler

问题:安装APScheduler ,pip install APScheduler 报错

Collecting APScheduler
  Could not fetch URL https://pypi.python.org/simple/apscheduler/: 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 APScheduler (from versions: )
No matching distribution found for APScheduler

python pip 安装失败 Could not find a version that satisfies the requirement APScheduler_第1张图片


解决方法:

1、尝试了pip install wheel 失败

2、

pip --trusted-host pypi.python.org install APScheduler  失败

3、下载包安装https://pypi.python.org/pypi/APScheduler/

python setup.py install 失败

4、pip install apscheduler -i https://pypi.douban.com/simple 成功。


你可能感兴趣的:(python)