Last active
August 5, 2024 10:38
-
-
Save josephabrahams/92ec359eea04556eafd89ac43959a1b0 to your computer and use it in GitHub Desktop.
Install OpenCV 3 on macOS 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
brew tap homebrew/science | |
brew install opencv3 --without-numpy --without-python --with-python3 | |
brew link --force opencv3 | |
mkvirtualenv -p python3 cv | |
pip install numpy | |
ln -s /usr/local/opt/opencv3/lib/python3.6/site-packages/cv2.cpython-36m-darwin.so \ | |
~/.virtualenvs/cv/lib/python3.6/site-packages |
$ brew install opencv@3
Error: opencv@3 has been disabled because it is not maintained upstream! It will be disabled on 2024-01-31.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error: homebrew/science was deprecated. This tap is now empty and all its contents were either deleted or migrated.