Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Homebrew Error: No formulae found in taps

I'm trying to install paramiko on my MacBook Pro (OSX Sierra) without going through Xcode because I'm too lazy to install Xcode honestly.

When trying to run:

brew install paramiko

I get:

Error: No available formula with the name "paramiko"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

I've tried untapping home-brew via:

brew untap homebrew

And I get:

Error: No available tap homebrew/php.

Also tried:

brew tap --repair
brew update

Nothing besides:

Updated 1 tap (caskroom/cask).
No changes to formulae.

If I have to go through Xcode, that's fine but I feel the issue here is not the installation process but something weird with the taps...

like image 282
CBK Avatar asked Dec 13 '16 03:12

CBK


3 Answers

This worked for me.

run brew doctor

Warning: Some taps are not on the default git origin branch and may not receive updates. If this is a surprise to you, check out the default branch with: git -C $(brew --repo homebrew/core) checkout master

then run git -C $(brew --repo homebrew/core)

like image 173
Mayomi Ayandiran Avatar answered Oct 19 '22 23:10

Mayomi Ayandiran


Run this command :

git -C $(brew --repo homebrew/core) checkout master

this will switch to master, then run

brew doctor

this should run without any error.

If no error you can install anything with brew install

ex: brew install wget

like image 40
sukeshgv88 Avatar answered Oct 20 '22 01:10

sukeshgv88


I ran:

brew doctor

which gave me as first warning:

Warning: Homebrew/homebrew-core was not tapped properly! Run:

  rm -rf "/opt/homebrew/Library/Taps/homebrew/homebrew-core"
  brew tap homebrew/core

Running those 2 commands above solved the problem for me.

like image 36
jimbod119 Avatar answered Oct 19 '22 23:10

jimbod119