deepethogram
deepethogram copied to clipboard
Can't open GUI - Error: _init_pyside_extension is not defined
Hello,
When installing deepethogram I encountered one of the issues stated in the common installation problems section. The error name is '_init_pyside_extension is not defined'. I followed the steps mentioned there: pip uninstall pyside2, conda remove pyside2, pip uninstall deepethogram, pip install deepethogram. However, after doing that, I'm getting the same error when trying to start the GUI. Any idea of how can this be solved? Thank you!
Hi there, what OS are you working on?
If you're comfortable with trying Docker, I just pushed some docker images. That should give a 100% reproducible environment, which should fix your issues.
Hi @stowerslab, this suggestion from a previous comment helped me resolve this issue on Windows in case that's your os:
pip uninstall PySide2
conda uninstall pyside2
conda install -c conda-forge pyside2
Hi @stowerslab, this suggestion from a previous comment helped me resolve this issue on Windows in case that's your os:
pip uninstall PySide2
conda uninstall pyside2
conda install -c conda-forge pyside2 had the same issue your fix worked thank you.
Just coming here to confim I get the same error after following the installation instructions:
conda create --name deg python=3.7
conda activate deg
conda install -c conda-forge pyside2==5.13.2
pip install deepethogram
and running the following solves it
pip uninstall PySide2
conda uninstall pyside2
conda install -c conda-forge pyside2
My system is Windows 11, but I can confirm that an identical error happens on Windows 10
@axellenoesen I get a similar error upon launching deepethogram
deepethogram
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)
And it's solved with the same commands you shared, thanks! :D