Problem of not being able to use imshow in omni.pip.compute opencv headless

In the recent release notes, I confirmed that opencv -python-headless==4.9.0.80 is installed in omni.pip.compute. I was previously using a non-headless version, and when I tried to use the example I created, the following error occurred.

2024-06-26 01:30:38 [43,465ms] [Error] [omni.kit.scripting.scripts.utils] Python Scripting Error:
2024-06-26 01:30:38 [43,465ms] [Error] [omni.kit.scripting.scripts.utils] Traceback (most recent call last):
2024-06-26 01:30:38 [43,465ms] [Error] [omni.kit.scripting.scripts.utils]   File "C:\Users\l\.nvidia-omniverse\pycache\omniverse\localhost\Projects\cj_32_box_32_detect\box_dectet\camera_detect.py", line 89, in on_update
    cv2.imshow("sample1", img)
2024-06-26 01:30:38 [43,466ms] [Error] [omni.kit.scripting.scripts.utils] cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1272: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'

I confirmed that this error occurred because headless does not support GUI. To solve this problem, we confirmed that if opencv -python-headless==4.9.0.80 was removed and opencv -python==4.9.0.80 was installed, problems with Isaac Sim occurred. How do I solve this?

I tried the obvious answer of pip installing opencv-python. This leads to problems with the pip_prebundle called from the fast_importer.py ? This problem persisted once I install opencv-python-headless.

I am also running into as similar issue. Has anyone found any solutions to this problem?

I’m facing this problem also , cannot use our own opencv build from source version because many pkg is depend on “omni.pip.compute 's OpenCV”