ImportError: dynamic module does not define module export function (PyInit_cv2)
问题 When I try to import cv2 in IPython , I am getting this error- ImportError: dynamic module does not define module export function (PyInit_cv2) I have opencv 3.0, ubuntu 14.04, python 3.4. I searched online but couldn't get any answer. 回答1: Python3 libraries usually can be found in: /usr/lib/python3/dist-packages I found out that the library cv2.cpython-34m.so is needed for Python3.4. But this file wasn't be contained in my default library directory. In my environment, this library was stored