Skip to content

Instantly share code, notes, and snippets.

@robot010
robot010 / gist:256d4cc71485f970a1e83b176b6f4de8
Created May 27, 2016 18:42
Failure to install opencv with homebrew
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'