Created
May 27, 2016 18:42
-
-
Save robot010/256d4cc71485f970a1e83b176b6f4de8 to your computer and use it in GitHub Desktop.
Failure to install opencv with homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've type "brew tap homebrew/science" and "brew install opencv". The same error occurs when I tried "brew doctor". | |
And the following error is | |
Error: /usr/local/Library/Taps/homebrew/homebrew-science/opencv.rb:1: syntax error, unexpected tCONSTANT, expecting end-of-input | |
:lass Opencv < Formula | |
^ | |
Please report this bug: | |
https://git.io/brew-troubleshooting | |
/usr/local/Library/Homebrew/formulary.rb:21:in `module_eval' | |
/usr/local/Library/Homebrew/formulary.rb:21:in `load_formula' | |
/usr/local/Library/Homebrew/formulary.rb:38:in `load_formula_from_path' | |
/usr/local/Library/Homebrew/formulary.rb:87:in `load_file' | |
/usr/local/Library/Homebrew/formulary.rb:78:in `klass' | |
/usr/local/Library/Homebrew/formulary.rb:74:in `get_formula' | |
/usr/local/Library/Homebrew/formulary.rb:171:in `get_formula' | |
/usr/local/Library/Homebrew/formulary.rb:211:in `factory' | |
/usr/local/Library/Homebrew/formulary.rb:230:in `from_rack' | |
/usr/local/Library/Homebrew/formula.rb:1141:in `block in installed' | |
/usr/local/Library/Homebrew/formula.rb:1139:in `map' | |
/usr/local/Library/Homebrew/formula.rb:1139:in `installed' | |
/usr/local/Library/Homebrew/diagnostic.rb:1153:in `check_missing_deps' | |
/usr/local/Library/Homebrew/cmd/doctor.rb:42:in `block in doctor' | |
/usr/local/Library/Homebrew/cmd/doctor.rb:35:in `each' | |
/usr/local/Library/Homebrew/cmd/doctor.rb:35:in `doctor' | |
/usr/local/Library/brew.rb:87:in `<main>' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment