美文网首页
执行pipreqs . --encoding==utf8 --f

执行pipreqs . --encoding==utf8 --f

作者: new_start_2018 | 来源:发表于2021-05-06 16:53 被阅读0次

在本地执行:pipreqs . --encoding==utf8 --force 报错部分内容入下:

raise SSLError(e, request=request)

requests.exceptions.SSLError: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/aicsctrl/json (Caused by SSLError(SSLError(1, '[SSL: UNKNOWN_PRO

TOCOL] unknown protocol (_ssl.c:833)'),))

错误原因是:本地开启了代理

解决方案:把你本地的代理都关闭(Fiddler、postman、buipsuit等关掉) 重新执行,应该就没有上面异常了。

相关文章

网友评论

      本文标题:执行pipreqs . --encoding==utf8 --f

      本文链接:https://www.haomeiwen.com/subject/fsuddltx.html