Last active
November 16, 2020 01:45
-
-
Save blue-ice/e6bc36a906c86070eb50 to your computer and use it in GitHub Desktop.
Using Homebrew to install OpenCV2 for Python on Mac
This file contains 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
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``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems not to be valid any longer