--json: error: InvalidSchema: Missing dependencies for SOCKS support.
TheLastProject opened this issue · comments
Sylvia van Os commented
Happens on my Macbook (Catalina 10.15.2). I couldn't find any documentation on what dependencies I apparently need.
$ http-prompt http://httpbin.org
Version: 1.0.0
http://httpbin.org> --proxy http:socks5://localhost:9050
http://httpbin.org> --json
http://httpbin.org> get
--json: error: InvalidSchema: Missing dependencies for SOCKS support.
Sylvia van Os commented
Oh, after installing http-prompt through pip my httpie install (from brew) no longer works either. No clue what weird thing happened there. But using pip's httpie together with pip install -U requests[socks]
as documented on https://httpie.org/doc#socks works.
Hey, at least this issue may help the next person running into this :)