Skip to content

Instantly share code, notes, and snippets.

@blue-ice
Last active November 16, 2020 01:45
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save blue-ice/e6bc36a906c86070eb50 to your computer and use it in GitHub Desktop.
Save blue-ice/e6bc36a906c86070eb50 to your computer and use it in GitHub Desktop.
Using Homebrew to install OpenCV2 for Python on Mac
Assuming that you have already installed ```brew``` and that you are logged into a non-root administrator account:
1. ```brew tap homebrew/science```
2. ```brew install opencv```
3. ```sudo su```
4. ```echo "/usr/local/lib/python2.7/site-packages/" > /Library/Python/2.7/site-packages/opencv.pth```
@sadfuzzy
Copy link

Seems not to be valid any longer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment