You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS duplicate SDL warnings with opencv-python 4.13.0.92 and pygame #1219
I updated opencv-python from 4.12.0.88 to 4.13.0.92, and now I’m seeing duplicate SDL class warnings when opencv-python and pygame are imported in the same process.
For example:
import pygame
import cv2
gives warnings like:
Class SDLApplication is implemented in both .../site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib and .../site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib. This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
Do you have any advice on how this should be handled? Thanks!
I am also having this issue however it seems to not be causing issues except outputting error messages like you have described for me at the moment. I will let you know if I figure out a fix.
Activity
HarryFindlay03 commentedon May 6, 2026
I am also having this issue however it seems to not be causing issues except outputting error messages like you have described for me at the moment. I will let you know if I figure out a fix.
fix(ui): suppress kivy console spam, fix macOS SDL2 crash risk