Opencv imshow crashes python launcher on macOS 11.0.1 (Big Sur)

I resolved the issue with below steps:

  1. Install the anaconda.
  2. Install the libraries needed.
  3. 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.

  1. then I installed two libraies:

pip install opencv-python opencv-python-headless

  1. 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 opencv-python-headless. use:

pip install opencv-python-headless