Skip to content

Instantly share code, notes, and snippets.

@kamatari
Last active August 29, 2015 14:02
Show Gist options
  • Save kamatari/68aebb617cf6b4f33d66 to your computer and use it in GitHub Desktop.
Save kamatari/68aebb617cf6b4f33d66 to your computer and use it in GitHub Desktop.
$ brew install python
$ brew link python
$ pip install numpy
$ brew tap homebrew/science
$ brew install opencv
$vim .zprofile
>> export PYTHONPATH=/usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages:$PYTHONPATH
+ check >>
$ python
Python 2.7.7 (default, Jun 14 2014, 23:11:56)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment