This repository has been archived by the owner. It is now read-only.

OpenCV is gone? #18877

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

Comments

Projects
None yet
@JDDunn9
Copy link

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

This comment has been minimized.

Copy link
Contributor

samueljohn commented Apr 1, 2013

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

@samueljohn

This comment has been minimized.

Copy link
Contributor

samueljohn commented Apr 1, 2013

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

@dcoeurjo

This comment has been minimized.

Copy link
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

This comment has been minimized.

Copy link
Contributor

samueljohn commented Apr 1, 2013

@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.

@parnurzeal

This comment has been minimized.

Copy link

parnurzeal commented May 18, 2013

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

This comment has been minimized.

Copy link
Contributor

samueljohn commented May 18, 2013

@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

This comment has been minimized.

Copy link

kienpham2000 commented May 20, 2013

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

@samueljohn

This comment has been minimized.

Copy link
Contributor

samueljohn commented May 21, 2013

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

@parnurzeal

This comment has been minimized.

Copy link

parnurzeal commented May 22, 2013

@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

This comment has been minimized.

Copy link

parnurzeal commented May 22, 2013

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

This comment has been minimized.

Copy link
Contributor

samueljohn commented May 22, 2013

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

We will advertise science more :-)

@mistydemeo

This comment has been minimized.

Copy link
Member

mistydemeo commented May 22, 2013

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

This comment has been minimized.

Copy link
Contributor

samueljohn commented May 22, 2013

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

@parnurzeal

This comment has been minimized.

Copy link

parnurzeal commented May 23, 2013

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

This comment has been minimized.

Copy link
Member

mistydemeo commented May 23, 2013

Cross-tap search is working again, FYI.

@kubark42

This comment has been minimized.

Copy link

kubark42 commented Jul 25, 2013

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

This comment has been minimized.

Copy link
Contributor

samueljohn commented Jul 25, 2013

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

@paralin

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

MonsieurDart commented Oct 9, 2013

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

@drichardson

This comment has been minimized.

Copy link

drichardson commented Nov 20, 2013

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

This comment has been minimized.

Copy link
Member

MikeMcQuaid commented Nov 20, 2013

screen shot 2013-11-20 at 17 42 04

I really don't see the problem here.

@kubark42

This comment has been minimized.

Copy link

kubark42 commented Nov 20, 2013

@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

This comment has been minimized.

Copy link

drichardson commented Nov 21, 2013

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

This comment has been minimized.

Copy link

beartung commented Nov 26, 2013

thanks google...

@ghazel

This comment has been minimized.

Copy link

ghazel commented Feb 19, 2014

searching brought me here, too.

@ghazel

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

kubark42 commented Feb 19, 2014

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

This comment has been minimized.

Copy link
Contributor

adamv commented Feb 19, 2014

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

@MikeMcQuaid

This comment has been minimized.

Copy link
Member

MikeMcQuaid commented Feb 19, 2014

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

@streamtree

This comment has been minimized.

Copy link

streamtree commented Mar 2, 2014

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

@MikeMcQuaid

This comment has been minimized.

Copy link
Member

MikeMcQuaid commented Mar 2, 2014

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

@Homebrew Homebrew 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.