pip3 install apscheduler
Collecting apscheduler
Could not fetch URL https://pypi.python.org/simple/apscheduler/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) - skipping
Could not find a version that satisfies the requirement apscheduler (from versions: )
No matching distribution found for apscheduler
有网友提出的解决方法是 pip3 install certifi
但似乎并没有用,因为已经安装了 certifi
pip3 install certifi
Requirement already satisfied: certifi in /usr/local/lib/python3.6/site-packages
Python 版本 3.6,macos10.12
1
TimePPT 2017-11-09 18:46:04 +08:00 1
试试升级下 pip
|
2
rebeccaMyKid 2017-11-09 18:51:06 +08:00 1
你试下换个源. `pip3 install apscheduler -i https://pypi.douban.com/`
|
3
Vkin OP @TimePPT 无法升级,升级也是同样的提示:Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) - skipping
|
4
Vkin OP @rebeccaMyKid 也是同样的提示:
pip3 install apscheduler -i https://pypi.douban.com/ Collecting apscheduler Could not fetch URL https://pypi.douban.com/apscheduler/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) - skipping Could not find a version that satisfies the requirement apscheduler (from versions: ) No matching distribution found for apscheduler |
5
raysonx 2017-11-09 19:53:59 +08:00 via Android 1
用 curl 访问一下试试。
猜测你机器的 ca 证书有问题。 |