Cellpose 2.0 install error
Trying to do a fresh install of cellpose as per this tutorial video: https://www.youtube.com/watch?v=5qANHWoubZU
I tried creating a new conda environment and installing cellpose, however, I get an error:
(cellpose) [email protected]% python -m cellpose
2022-05-24 08:17:21,863 [INFO] WRITING LOG OUTPUT TO /home/jnmark/.cellpose/run.log
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" 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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
I saw a previous response saying this could be a result of trying to install outside of conda, but that's not applicable in my case. Any help will be appreciated!
Hello, could you please help me with this? I am really struggling with this install despite multiple attempts.
can you try the instructions here? it seems like the latest opencv may be conflicting? https://askubuntu.com/questions/1310286/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it
but if you did a clean environment, then there shouldn't be any conflicts.
another solution I found with googling was sudo apt-get install libxcb-xinerama0
(https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/24)
did any of this work? closing due to inactivity
I had this same issue. sudo apt-get install libxcb-xinerama0 fixed this for me. Cheers!
@mrariden can you please add this to the documentation?
I am getting the same error message. According to the above proposed solutions, quoted here
can you try the instructions here? it seems like the latest opencv may be conflicting? https://askubuntu.com/questions/1310286/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it
but if you did a clean environment, then there shouldn't be any conflicts.
another solution I found with googling was
sudo apt-get install libxcb-xinerama0(https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/24)
I have tried re-installing opencv but it didn't solve the issue. I installed cellpose in HPC server and I am not a sudo user, so I cannot try the second option. Is there a way to install cellpose in HPC sever and use the GUI?
I had this same issue.
sudo apt-get install libxcb-xinerama0fixed this for me. Cheers!
Although this doesn't fix my issue for the exact same error, running "conda install -c conda-forge pyqt" solves my issue.
Although this doesn't fix my issue for the exact same error, running "conda install -c conda-forge pyqt" solves my issue.
This was the fix that worked on my end. Thanks!
The issue persists for me.
Console:
platform: linux python version: 3.8.5 torch version: 2.1.2
Reinstalling open-cv, sudo apt-get install libxcb-xinerama0, and conda install -c conda-forge pyqt all do not solve my issue.
I solved it through re-installation and trying every step listed here: https://github.com/NVlabs/instant-ngp/discussions/300 Unfortunately, it is not clear to me which step worked. You may try many.
I am getting an error:
import numpy as np ModuleNotFoundError: No module named 'numpy' [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.