I ran the installation and it seemed to go fine:
$ sudo pip install httpie
Downloading/unpacking httpie
Downloading httpie-0.8.0.tar.gz (68kB): 68kB downloaded
Running setup.py (path:/private/tmp/pip_build_root/httpie/setup.py) egg_info for package httpie
Downloading/unpacking requests>=2.0.0 (from httpie)
Downloading requests-2.2.1-py2.py3-none-any.whl (625kB): 625kB downloaded
Downloading/unpacking Pygments>=1.5 (from httpie)
Downloading Pygments-1.6.tar.gz (1.4MB): 1.4MB downloaded
Running setup.py (path:/private/tmp/pip_build_root/Pygments/setup.py) egg_info for package Pygments
Installing collected packages: httpie, requests, Pygments
Running setup.py install for httpie
Installing http script to /usr/local/bin
Running setup.py install for Pygments
Installing pygmentize script to /usr/local/bin
Successfully installed httpie requests Pygments
Cleaning up...
Then when I run http I get:
$ http
Traceback (most recent call last):
File "/usr/local/bin/http", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>
working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: requests>=2.0.0
I ran the installation and it seemed to go fine:
Then when I run http I get: