Fix: provider name (#16733)

This commit is contained in:
Lynn
2026-07-09 10:19:10 +08:00
committed by GitHub
parent 575984877f
commit 1430d0e431
65 changed files with 333 additions and 338 deletions

View File

@@ -32,6 +32,7 @@ warnings.filterwarnings(
def _install_cv2_stub_if_unavailable():
try:
import cv2 # noqa: F401
return
except (ImportError, OSError) as exc:
# cv2 can fail to import with OSError too (e.g. missing shared libs),