cli: Not working on OS X Mavericks

When I tried to run a command on OS X Mavericks, I get the following error:

batuhanicoz at batuhanicoz-mbp2 in ~
○ http GET https://api.testapps.local.bt.hn/sdfdssad/dasa
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: httpie==0.6.0

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 19 (4 by maintainers)

Commits related to this issue

Most upvoted comments

I resolved the issue adding in my path:

export PATH="/usr/local/share/python:$PATH"