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

having trouble with UI "qt.qpa.plugin issue" #40

Open
jakeyahn opened this issue Dec 2, 2021 · 3 comments
Open

having trouble with UI "qt.qpa.plugin issue" #40

jakeyahn opened this issue Dec 2, 2021 · 3 comments

Comments

@jakeyahn
Copy link

jakeyahn commented Dec 2, 2021

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/student/anaconda3/envs/sean_env/lib/python3.7/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

any suggestion?

all the other pretrained model works fine!
currently using ubuntu server from VScode

@lzaazl
Copy link

lzaazl commented Dec 9, 2021

I guess you use the VSCode to connect the remote Ubuntu Server. This issue is probably due to no display screen or UI client can be found on the server.

So. To run the UI program, you might have to install the Qt-related packages on your local machine.

@wudidecc
Copy link

Could you please explain in detail which packages you need? I've been working on it for a while

@ankurhora
Copy link

installing python-opencv-headless might solve your problem.

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

4 participants