Es ist etwas falsches passiert, wenn ich CV2 importiere

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Es ist etwas falsches passiert, wenn ich CV2 importiere

by Anonymous » 16 Apr 2025, 08:26

wie dies geschah: Ich habe CV2 in Jupyter-Notebook-Code-Zelle importiert und ausgeführt, dann ist Importeurror aufgetreten. Arbeit. < /p>
Detaillierter Fehler: < /p>

Code: Select all

ImportError                               Traceback (most recent call last)
 in 
----> 1 import cv2
2 import numpy as np
3 import os
4 from matplotlib import pyplot as plt
5 import time

D:\Anaconda3\lib\site-packages\cv2\__init__.py in 
7
8 from .cv2 import *
----> 9 from .cv2 import _registerMatType
10 from . import mat_wrapper
11 from . import gapi

ImportError: cannot import name '_registerMatType' from 'cv2.cv2' (D:\Anaconda3\lib\site-packages\cv2\cv2.cp38-win_amd64.pyd)

Top