Heim  >  Fragen und Antworten  >  Hauptteil

opencv和python都已经装好了,可是import报错

黄舟黄舟2716 Tage vor583

Antworte allen(1)Ich werde antworten

  • 迷茫

    迷茫2017-04-18 10:04:21

    这是之前记下的,以免忘记。

    解压下载下来的opencv压缩包

    Goto opencv/build/python/2.7 folder.
    Copy cv2.pyd to Anaconda site-packages directory, e.g., D:/Anaconda/Lib/site-packages

    Open Python IDLE and type following codes in Python terminal.

    import cv2
    print cv2.__version__

    Antwort
    0
  • StornierenAntwort