通过pycharm下载第三方模块,SSL错误解决办法

例如在pycharm下载six这个模块,提示如下

Collecting six

  Could not fetch URL https://pypi.python.org/simple/six/: 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 six (from versions: )

No matching distribution found for six

直接在终端pip install six,提示的错误是一样的。


解决办法,根据错误信息直接去官网https://pypi.python.org/simple/six/下载,下载的包里会有setup.py然后在pycharm的终端执行python setup.py install。即可

阅读更多
文章标签: python
个人分类: python
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭