При запуске у меня появляется сообщение об ошибке:
Код: Выделить всё
import cv2
Код: Выделить всё
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version a but this version of numpy is 9
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
in ()
----> 1 import cv2
ImportError: numpy.core.multiarray failed to import
Код: Выделить всё
numpy.version.version
Out[22]:'1.9.2'
Для информации: моя версия Python/Anaconda
Код: Выделить всё
print sys.version
2.7.10 |Anaconda 2.3.0 (64-bit)| (default, Sep 15 2015, 14:50:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
Подробнее здесь: https://stackoverflow.com/questions/333 ... -to-import