stepjam / PyRep

A toolkit for robot learning research.
MIT License
680 stars 162 forks source link

import cv2 #368

Open USTC-LiZheng opened 6 months ago

USTC-LiZheng commented 6 months ago

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.

yzlc080733 commented 4 months ago

I encountered the same problem.

I switched from opencv-python to opencv-python-headless, and the problem was solved.