Opencv imshow crashes python launcher on macOS 11.0.1 (Big Sur)
I resolved the issue with below steps:
- Install the anaconda.
- Install the libraries needed.
- Run the script, there is an error appeared as below:
You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
- then I installed two libraies:
pip install opencv-python opencv-python-headless
- Retry run the script, the image can be shown on the left top of the monitor.
I was also facing the same problem. I solved it by just installing
pip install opencv-python-headless