Missing dependencies for SOCKS support
I 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 variable all_proxy (which was originally set to a SOCK proxy socks://…) to the https version in my .bashrc file :
export all_proxy="https://<proxy>:<port>/"
and now it works.
本文档描述了在Ubuntu VM上使用conda和requests时遇到的SOCKS支持缺失的问题。解决方案是将环境变量all_proxy从SOCKS代理更改为HTTPS版本,如在.bashrc文件中设置:export all_proxy=https://<proxy>:<port>/。应用更改后,问题得到解决。
2009

被折叠的 条评论
为什么被折叠?



