PyRep
PyRep copied to clipboard
import cv2
when i "import cv2" ,it is wrong
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/home/dell/anaconda3/envs/zl-sb3/lib/python3.8/site-packages/cv2/qt/plugins" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
I encountered the same problem.
I switched from opencv-python to opencv-python-headless, and the problem was solved.