- Notifications
You must be signed in to change notification settings - Fork911
Closed
Description
when built opencv4.4.0, folder 'cv2' had been create in python's site-packages.
my env:
cuda 10.2
python 3.8
vs2017
cmake3.19
>>>import cv2ImportError: DLL load failed while importing cv2
then i used opencv's python_loader
>python setup.py install>python>>>import cv2>>>ImportError: DLL load failed while importing cv2 ['', 'D:/CodingEnv/opencv/opencv4.4.0/sources/build/lib/python3/Release', 'D:\\CodingEnv\\python\\python3.8.5\\python38.zip', 'D:\\CodingEnv\\python\\python3.8.5\\DLLs', 'D:\\CodingEnv\\python\\python3.8.5\\lib', 'D:\\CodingEnv\\python\\python3.8.5', 'D:\\CodingEnv\\python\\python3.8.5\\lib\\site-packages', 'd:\\codingenv\\opencv\\opencv4.4.0\\sources\\build\\python_loader']Traceback (most recent call last): File "<stdin>", line 1, in <module> File "D:\CodingEnv\opencv\opencv4.4.0\sources\build\python_loader\cv2\__init__.py", line 96, in <module> bootstrap() File "D:\CodingEnv\opencv\opencv4.4.0\sources\build\python_loader\cv2\__init__.py", line 86, in bootstrap import cv2 File "D:\CodingEnv\opencv\opencv4.4.0\sources\build\python_loader\cv2\__init__.py", line 96, in <module> bootstrap() File "D:\CodingEnv\opencv\opencv4.4.0\sources\build\python_loader\cv2\__init__.py", line 23, in bootstrap raise ImportError('ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation.')ImportError: ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation.
Metadata
Metadata
Assignees
Labels
No labels