Hi,
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:
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!
Environment:
macOS Sequoia (Apple M1)
Python 3.12.11
opencv-python 4.13.0.92
pygame 2.6.1
Hi,
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:
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!
Environment:
macOS Sequoia (Apple M1)
Python 3.12.11
opencv-python 4.13.0.92
pygame 2.6.1