python import error in opencv

前端 未结 1 525
长发绾君心
长发绾君心 2021-01-28 00:58

I am getting this error when trying to import opencv:

>>> import cv2
RuntimeError: module compiled against API version 0xa but this version of numpy is          


        
1条回答
  •  無奈伤痛
    2021-01-28 01:40

    What version of Numpy are you running? You appear to only be running 1.7

    Upgrade to the latest (1.14 as of writing) and try again.

    0 讨论(0)
提交回复
热议问题