OpenCV is gone? #18877

Closed
JDDunn9 opened this Issue Apr 1, 2013 · 31 comments

Projects

None yet
@JDDunn9
JDDunn9 commented Apr 1, 2013

I noticed the opencv was gone today. I've been trying to install it all weekend. Is this permanent or just a temporary issue?

@samueljohn
Contributor

brew tap homebrew/science and brew install opencv. I moved it to homebrew-science.

@samueljohn
Contributor

Will leave this issue open for a while for others to see.

@dcoeurjo
Contributor
dcoeurjo commented Apr 1, 2013

Hi @samueljohn, let me react to your recent formula cleanup (from mxcl/homebrew -> Homebrew/homebrew-science): it definitely makes sense and I love taps. However, the wiki page with taps description (and main taps such as homebrew-science) is not easy to find (no link from the Home, FAQ nor Install). Again, taps (and main taps) are great but more visibility would help the formula submitter to choose between main repo and the related tap (if any).

@samueljohn
Contributor

@dcoeurjo Thanks for your feed-back. I agree 100%. I discussed with @mxcl that we should mention taps more prominent on the official homepage, too. Also for (br/n)ewcomer it would be good to see that there are much more formulae available than what the main repo shows.

@atomotic atomotic referenced this issue in tabulapdf/tabula Apr 3, 2013
Closed

Update README.md - brew opencv #25

@jacknagel jacknagel closed this Apr 12, 2013
@parnurzeal

I was finding why no opencv in homebrew for 3 hours and finally ... found reason here ...

the guide for opencv is misleading.
http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port

@samueljohn
Contributor

@parnurzeal would you be so kind to update that wiki? Thanks in advance as this might help a lot of others, too.

brew search opencv reveals opencv and will tell you to brew tap homebrew/science and then install it.

@kienpham2000

wow never heard of brew tap thing until now. Thanks for the info!

@samueljohn
Contributor

we have to advertise that more. On the homepage for example ...

@parnurzeal

@samueljohn I want to update it but sorry to say even though, I found the location in homebrew/science. I tried so hard to install opencv with python with no luck. In the end, I used macports instead...
I like homebrew. it's easier and cleaner but no success for opencv with python.

@parnurzeal

But for sure, you need to advertise more, I have to search a lot to find out about brew tap thing and homebrew/science.

@samueljohn
Contributor

Then, I have to work a little harder to fix python bindings. You tried with brewed python, right?

We will advertise science more :-)

@mistydemeo
Contributor

Normally the cross-tap search would bring up opencv even if homebrew/science weren't tapped; unfortunately that's broken at the moment but hopefully will be fixed soon.

@samueljohn
Contributor

Thanks Misty, I didn't knew its broken right now. We also need to improve braumeister.org, I think.

@parnurzeal

I followed the intruction in http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port (addition with brew tap)
And try to use opencv in python but didnt work. And as far as I remember I also searched other way round on stackoverflow, on the internet to solve it using brew and tried it but didn't work as well.

@mistydemeo
Contributor

Cross-tap search is working again, FYI.

@kubark42

FWIW, perhaps brew install opencv could fire off a warning that the package exists but no tap is installed for it. This would be more helpful than Error: No available formula for opencv. If I hadn't been so amazed that the most important image analysis tool on the net wasn't available in the almost exhaustive brew recipes, I wouldn't have thought to look for the science tap.

@samueljohn
Contributor

I agree. Additional to that error, a message to try brew search <formula> should be printed.

@paralin
paralin commented Jul 25, 2013

I too was confused by not seeing brew install opencv. Please add a message to use the search command.

@MonsieurDart

Same here… Thanks for this page. And for brew! I just love you guys. :-)

@drichardson

I've done this a couple times now, and to find opencv I have to google, find this page, and then setup the tap. Usability wise, taps (and excuse my ignorance but I don't know what they're for) make brew much harder to use.

@MikeMcQuaid
Member

screen shot 2013-11-20 at 17 42 04

I really don't see the problem here.

@kubark42

@mikemcquaid I think that's changed to be a bit more informative. Previously, it was simply the error message. Great to see this improving!

IMHO, there's still room for a more informative message if the brew devs were so inclined. I think we're moving to a world where rich text is more useful than compact text. The error message could be a little more verbose and give clear instructions to resolve the situation, since average people will still likely google the error message in order to get opencv installed.

@drichardson

I was seeing this:

brew install opencv
Error: No available formula for opencv
Searching taps...
Error: 404 Not Found
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:277:in `open_http'
/usr/local/Library/Homebrew/cmd/search.rb:99:in `value'
/usr/local/Library/Homebrew/cmd/search.rb:99:in `search_taps'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:230:in `inject'
/usr/local/Library/Homebrew/cmd/search.rb:96:in `each'
/usr/local/Library/Homebrew/cmd/search.rb:96:in `inject'
/usr/local/Library/Homebrew/cmd/search.rb:96:in `search_taps'
/usr/local/Library/Homebrew/cmd/install.rb:41:in `install'
/usr/local/Library/brew.rb:91:in `send'
/usr/local/Library/brew.rb:91

but then after seeing @mikemcquaid's more useful error message ran brew update and now I'm getting this, which is much better:

brew install opencv
Error: No available formula for opencv
Searching taps...
homebrew/science/opencv

That said, I still think it would have been better to keep opencv in the main tap (or whatever it's called).

@beartung

thanks google...

@ghazel
ghazel commented Feb 19, 2014

searching brought me here, too.

@ghazel
ghazel commented Feb 19, 2014

The problem, as I see it, is the first thing it prints, in red, is "Error: No available formula for opencv". The "Searching taps..." step takes a second or two, and by that time I'm already hunting for a solution.

I had never heard of taps, or why you would search them. And why, since so many people want it, is opencv behind an error message and then a tap?

@kubark42

My earlier point is that the problem here is the lack of clarity in the error message. Since this is a deterministic problem, perhaps we can offer a solution for an error message that sounds less scary and is more informative.

@adamv
Contributor
adamv commented Feb 19, 2014

takes a second or two, and by that time I'm already hunting for a solution

@MikeMcQuaid
Member

It says "searching taps". That'll do, really.

@streamtree

It says "searching taps" but if it's already installed there's no warning or other indication that it's installed.

@MikeMcQuaid
Member

Please don't comment any more on this (closed) issue, thanks.

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.