weixin_38952044
weixin_38952044
采纳率0%
2017-08-18 15:43 阅读 1.9k

Mac上安装opencv3 for python的问题

20

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

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

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

相关推荐