question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Brew installed version doesn't work with plugins

See original GitHub issue

Brew is listed as the recommended way of installing httpie on macOS. However, it doesn’t work with auth plugins.

For example, if you pip3 install requests-hawk and then run http --help hawk will not show as an auth type. If you pip3 install httpie-oauth it will install httpie via pip as a dependency and overwrite the brew installed link in /usr/local/bin/http and now all the plugins will show because it isn’t using the brew installed version.

I suggest changing the documentation to read pip3 install httpie as the recommended method of installing on macOS.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:19 (15 by maintainers)

github_iconTop GitHub Comments

7reactions
rshurtscommented, Mar 16, 2017

In the meantime, maybe a note in the documentation around plugins saying “brew doesn’t work with plugins and to pip install httpie for plugin functionality” would save some headaches.

5reactions
nicbetcommented, May 19, 2020

For what it’s worth and perhaps other users googling for an answer, installing a plugin worked fine for me like this:

pip3 install -t /usr/local/Cellar/httpie/2.0.0/libexec/lib/python3.8/site-packages httpie-jwt-auth

Thanks https://github.com/jakubroztocil/httpie/issues/566#issuecomment-285210693

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Issues - Homebrew Documentation
Common Issues. This is a list of commonly encountered problems, known issues, and their solutions. Running brew. brew complains about absence of “Command ......
Read more >
Homebrew install specific version of formula? - Stack Overflow
1) Check, whether the version is already installed (but not activated) ... Please note that brew switch only works as long as all...
Read more >
Why does my brew installation not work? - Ask Different
I had the same problem—installed brew, used it, but now it doens't work, ie, brew command not recognized anymore.
Read more >
The NVM plugin doesn't work when NVM installed via ... - GitHub
I attempted to fix the problem by using the HOMEBREW_REPOSITORY environment variable, but it's not present if Homebrew is loaded after zsh. The ......
Read more >
How to Install an Older Brew Package | by Nassos Michas
Unfortunately, Homebrew doesn't provide an easy, out-of-the-box way to install an older version of a package. If for any reason you find ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found