Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import cv2 #368

Open
USTC-LiZheng opened this issue Feb 24, 2024 · 1 comment
Open

import cv2 #368

USTC-LiZheng opened this issue Feb 24, 2024 · 1 comment

Comments

@USTC-LiZheng
Copy link

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
Copy link

yzlc080733 commented May 7, 2024

I encountered the same problem.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants