Mac上安装opencv3 for python的问题

Python 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import cv2
Traceback (most recent call last):
File "", line 1, in
ImportError: dlopen(/usr/local/Cellar/opencv/2.4.13.2_1/lib/python2.7/site-packages/cv2.so, 2): Symbol not found: _PyCObject_Type
Referenced from: /usr/local/Cellar/opencv/2.4.13.2_1/lib/python2.7/site-packages/cv2.so
Expected in: flat namespace
in /usr/local/Cellar/opencv/2.4.13.2_1/lib/python2.7/site-packages/cv2.so

报错如上,请问怎么解决谢谢

opencv没有安装好,cv2.so有依赖的库找不到。

http://www.pyimagesearch.com/2015/06/29/install-opencv-3-0-and-python-3-4-on-osx/
之前遇到过