Recently, I switched to a new Mac Retina (one of the numerous perks of working at Yahoo 😉 ) and wanted to install OpenCV in it using Homebrew.
I ran the usual brew install opencv
command and got No available formula for opencv
error message. I have personally ran this command before to install OpenCV and was wondering what went wrong.
After a couple of web searches and ‘hair tearing’, I found that the opencv
formula has moved to homebrew-science
and I had to do the following.
brew tap homebrew/science
brew install opencv
Finally everything worked. So even if you are facing the same problem, then you know what to do now (and possibly save some hair as well) 🙂
Oh, by the way, if you own a Mac and don’t know what Homebrew is, then stop everything and install it right away. You can thank me later 😉
Leave a Reply