close

[Solved] Python’s requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Python’s requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Python’s requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal Error Occurs?

Today I get the following error Python’s requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal in python.

How To Solve Python’s requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal Error ?

  1. How To Solve Python's requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal Error ?

    To Solve Python's requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal Error This means that requests is using socks as a proxy and that socks is not installed.

  2. Python's requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal

    To Solve Python's requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal Error This means that requests is using socks as a proxy and that socks is not installed.

Solution 1

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>/"

Solution 2

This means that requests is using socks as a proxy and that socks is not installed.

Just run pip install pysocks

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read