Home  >  Q&A  >  body text

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

黄舟黄舟2762 days ago628

reply all(1)I'll reply

  • 迷茫

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

    I wrote this down before so as not to forget.

    Unzip the downloaded opencv compressed package

    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__

    reply
    0
  • Cancelreply