-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http: error: InvalidSchema: Missing dependencies for SOCKS support.
despite installing requests[socks]
#904
Comments
http: error: InvalidSchema: Missing dependencies for SOCKS support.
despite installing requests[socks]
It’s possible that the apt-installed version of HTTPie does not have access to the additional pip-installed packages, for some reason. Also, HTTPie 0.9.8 is very old (it might be unrelated, though). I would try to install HTTPie using pip instead. |
I must be doing something wrong... I tried installing with
|
@coaxial-abraxas can you please tell me what Python version you use? $ python --version I assume it will be older than the 3.6, which is required by HTTPie 2.0.0+. The following should work: $ pip install 'httpie<2.0.0' (This is indeed a bug: #886) |
For the time being, I have installed it with $ python --version
Python 2.7.17
$ python3 --version
Python 3.6.9
$ http --version
2.1.0 |
HTTPie 2.3.0 will support SOCKS out of the box w/o extra installation. |
I followed the documentation's instructions to install
requests[socks]
withpip -U requests[socks]
, but I'm still getting the error.Using Ubuntu 18.04 with the following env vars set:
httpie installed with
sudo apt install httpie
The text was updated successfully, but these errors were encountered: