PyCharm and OpenCV 3.1.0

There are several posts on the problem of getting PyCharm to recognise OpenCV when installed for Python but no definitive fix and certainly none that work for me. Has anybody found a solution.

Using Python 3.5 with OpenCV 3.1.0 on ElCapitan 10.11.4. When you complete the build for OpenCV and Python, it creates cv2.cpython-35m-darwin.so in /usr/local/lib/python3.5/site-packages.

Renaming this to cv2.so (and removing the execute permissions) means that is is then usable in the interpreter and idle3 but not PyCharm.

 

Please sign in to leave a comment.