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

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

Antworte allen(1)
迷茫

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

解压下载下来的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__
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage