Closed mverteuil closed 9 years ago
For reference, the traceback seen with requests 2.6.0 is:
❯ http [3:52:36 pm]
Traceback (most recent call last):
File "/usr/local/bin/http", line 7, in <module>
from httpie.__main__ import main
File "/usr/local/lib/python2.7/site-packages/httpie/__main__.py", line 6, in <module>
from .core import main
File "/usr/local/lib/python2.7/site-packages/httpie/core.py", line 21, in <module>
from .compat import str, is_py3
File "/usr/local/lib/python2.7/site-packages/httpie/compat.py", line 6, in <module>
from requests.compat import (
ImportError: cannot import name is_windows
This problem should be fixed in the latest version of HTTPie (0.9.2).
Sweet, thanks :) On Tue, Apr 14, 2015 at 5:17 PM Jakub Roztočil notifications@github.com wrote:
This problem should be fixed in the latest version of HTTPie (0.9.2).
— Reply to this email directly or view it on GitHub https://github.com/jakubroztocil/httpie/issues/339#issuecomment-93064973 .
Please change the setup.py to pin against the latest version of requests that is compatible instead of letting requests move up to 2.6.0 (or later) which breaks httpie.
I know that requests works @ 2.3.0, but later versions may be compatible too.