Python's requests "Missing dependencies for SOCKS support" when using SOCKS5 from Terminal
This means that requests is using socks as a proxy and that socks is not installed.
Just run
pip install pysocks
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.
In Ubuntu you can run :
unset all_proxy && unset ALL_PROXY