I am having some difficulties installing opencv with python 3.5.
I have linked the cv files, but upon
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/cv2.so, 2): Symbol not found: _PyCObject_Type
Traceback (most recent call last):
File "/Users/Jamie/Desktop/tester/test.py", line 2, in
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/cv.py", line 1, in
from cv2.cv import *
ImportError:dlopen(/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/cv2.so, 2): Symbol not found: _PyCObject_Type
Referenced from: /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/cv2.so
Expected in: flat namespace
Found an answer - follow the instructions on this website BUT you have to change to the version of python you are using.
Also, I didn't bother with the virtual environments.
And lastly cv2.so is actually called cv2.cpython-35m-darwin.so in the build/lib folder that you make.
Then it works.