Closed Jayin closed 9 years ago
Same problem here.
pip install colorama
fixed the problem, so probably just needs the dependency added to the install script.
Same here. It's weird that their test doesn't cover this scenario.
It's a bug, sorry about that. Will be fixed hopefully soon. The same problem will occur with argparse
on Python versions that don't included it (2.6, 3.0, 3.1).
It's because the conditional dependencies in setup.py
don't work with the new wheel format. It looks like with wheel==0.24.0
, once released, it will be possible to define environment-specific dependencies again:
http://wheel.readthedocs.org/en/latest/#defining-conditional-dependencies
extras_require={
':python_version == "2.6" or python_version == "3.0" or python_version == "3.1"': [
'argparse>=1.2.1'
],
':sys_platform == "win32"': [
'colorama>=0.2.4'
],
}
But maybe we could drop support for wheel until things improve. The primary reason why It was introduced was to fix #148.
This should be fixed in HTTPie v0.9.0. See:
https://github.com/jakubroztocil/httpie/issues/255#issuecomment-72316343
in win7