opencv和python都已经装好了,可是import报错
黄舟
黄舟 2017-04-18 10:02:21
0
1
572
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all (1)
迷茫

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__
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!