美文网首页
Python's requests “Missing depen

Python's requests “Missing depen

作者: sherrysack | 来源:发表于2017-10-08 18:29 被阅读0次

1 Unset socks proxy, in your case:
unset all_proxy
unset ALL_PROXY
2 Install missing dependencies:
pip install pysocks
3Reset proxy, source .bashrc, and pip install works again with socks proxy.

Another WAY
had the same issue with conda and requests 2.11 (I work in a Ubuntu VM behind a corporate proxy).
This issue helped me. I changed my environment variableall_proxy
(which was originally set to a SOCK proxysocks://....
) to the https version in my .bashrc file :
export all_proxy="https://<proxy>:<port>/"

相关文章

网友评论

      本文标题:Python's requests “Missing depen

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