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

core dumped error in python3.11 #16

Open
trappedinspacetime opened this issue Jul 15, 2024 · 3 comments
Open

core dumped error in python3.11 #16

trappedinspacetime opened this issue Jul 15, 2024 · 3 comments

Comments

@trappedinspacetime
Copy link

After I installed all the requirements, I get the following error:

      python -m yarppg
      QObject::moveToThread: Current thread (0x64e439c434f0) is not the object's thread (0x64e43c4bffd0).
      Cannot move to target thread (0x64e439c434f0)
      
      qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/kenn/.pyenv/versions/3.11-dev/lib/python3.11/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.
      
      Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.
      
      Aborted (core dumped)
@trappedinspacetime
Copy link
Author

    pip install opencv-python-headless

fixed it.

@SamProell
Copy link
Owner

thank you for reporting this. I see no issues with 3.11 on windows, but on Ubuntu through WSL i get the same issue.
For me, however, installing opencv-python-headless does not solve the error. Which OS are you on?

I'm afraid there are some major dependency issues with some of the requirements. Since I last checked, MediaPipe has seen an overhaul, OpenCV moved to Qt6 for newer versions...

I will look into it in the next weeks. This may motivate to continue an finalize some housekeeping that I've been meaning to finalize for a long time now.

@trappedinspacetime
Copy link
Author

@SamProell I am sorry, I've just seen your post. I am on Ubuntu 22.04 Mate Desktop.

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