There was a problem confirming the ssl certificate ……
在安裝一個Python庫onetimepass時發生下面的問題:
pip install onetimepass
Could not fetch URL https://pypi.python.org/simple/six/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600) - skipping
Could not find a version that satisfies the requirement six (from onetimepass) (from versions: )
No matching distribution found six (from onetimepass)
經過網上查閱資料,發現是python版本的問題,高版本的Python會默認SSL。
解決方法:
pip install --trusted-host pypi.python.org onetimepass
參考文獻
http://stackoverflow.com/questions/16370583/pip-issue-installing-almost-any-library
總結
以上是生活随笔為你收集整理的There was a problem confirming the ssl certificate ……的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 实现第一个自定义nginx模块
- 下一篇: 在rMBP上利用Python的oneti