[英]from .cv2 import * ImportError: DLL load failed: The specified module could not be found
I used to play with opencv but now I am not able to use it. 我曾经玩过opencv,但是现在我无法使用它。 When I enter :
当我输入时:
import cv 2
I get 我懂了
import cv2
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import cv2
File "C:\Program Files\Python36-32\lib\site-packages\cv2\__init__.py", line 3, in <module>
from .cv2 import *
ImportError: DLL load failed: The specified module could not be found.
I have 32 bit Windows 7 and Python 3.6. 我有32位Windows 7和Python 3.6。
I had an issue that really looked like this one. 我遇到了一个看起来像这样的问题。 I installed OpenCV on an conda envrionement and someone had installed numpy unsing pip on the base environment.
我在conda环境中安装了OpenCV,有人在基本环境中安装了numpy unsing pip。
Please check that: 请检查:
The only way that I could fix the issue was starting from a fresh environment. 解决此问题的唯一方法是从全新的环境开始。
Hope it helps 希望能帮助到你
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.