Skip to content

ImportError from PySide6 #2459

@laurelrr

Description

@laurelrr

Bug description

I am attempting to install version 1.5.2 in Linux environment Debian 6.1.148-1 using the conda/pip combo as follows:

conda create -n sleap_1_5_2 python=3.13 -y
conda activate sleap_1_5_2
# CUDA 12.8
pip install "sleap[nn]" --extra-index-url https://download.pytorch.org/whl/cu128 --index-url https://pypi.org/simple

Expected behaviour

I would expect sleap-label --help to produce the help list.

Actual behaviour

Instead, it gives this error:

Traceback (most recent call last):
  File "/home/lkeyes/miniconda3/envs/sleap_1_5_2/bin/sleap-label", line 3, in <module>
    from sleap.gui.app import main
  File "/home/lkeyes/miniconda3/envs/sleap_1_5_2/lib/python3.13/site-packages/sleap/gui/app.py", line 56, in <module>
    from qtpy import QtCore, QtGui
  File "/home/lkeyes/miniconda3/envs/sleap_1_5_2/lib/python3.13/site-packages/qtpy/QtCore.py", line 135, in <module>
    from PySide6.QtGui import Qt as guiQt
ImportError: /usr/lib/x86_64-linux-gnu/libQt6DBus.so.6: undefined symbol: _ZN14QObjectPrivateC2Ei, version Qt_6_PRIVATE_API

Your personal set up

Debian 6.1.148-1 (2025-08-26) x86_64
CPU Count: 16 : "AuthenticAMD AMD EPYC 7543 32-Core Processor 2899.999 MHz (2 chips x 8 cores)"
RAM: 64 GB
GPU: Tesla A40-PCIE-48GB
NVIDIA-SMI 570.124.06 Driver Version: 570.124.06 CUDA Version: 12.8

  • OS:
  • Version(s):
  • SLEAP installation method (listed here):
Environment packages
# paste output of `pip freeze` or `conda list` here

aiohappyeyeballs==2.6.1
aiohttp==3.13.2
aiosignal==1.4.0
albucore==0.0.24
albumentations==2.0.8
annotated-types==0.7.0
antlr4-python3-runtime==4.9.3
anyio==4.11.0
argon2-cffi==25.1.0
argon2-cffi-bindings==25.1.0
arrow==1.4.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.4.0
av==15.1.0
babel==2.17.0
beautifulsoup4==4.14.2
bleach==6.3.0
certifi==2025.10.5
cffi==2.0.0
charset-normalizer==3.4.4
click==8.3.0
comm==0.2.3
contourpy==1.3.3
cycler==0.12.1
debugpy==1.8.17
decorator==5.2.1
defusedxml==0.7.1
executing==2.2.1
fastjsonschema==2.21.2
filelock==3.20.0
fonttools==4.60.1
fqdn==1.5.1
frozenlist==1.8.0
fsspec==2025.10.0
gitdb==4.0.12
GitPython==3.1.45
h11==0.16.0
h5py==3.15.1
hdmf==4.1.1
httpcore==1.0.9
httpx==0.28.1
hydra-core==1.3.2
idna==3.11
ImageIO==2.37.2
imageio-ffmpeg==0.6.0
imgstore==0.3.7
ipykernel==7.1.0
ipython==9.7.0
ipython_pygments_lexers==1.1.1
ipywidgets==8.1.8
isoduration==20.11.0
jedi==0.19.2
Jinja2==3.1.6
joblib==1.5.2
jsmin==3.0.1
json5==0.12.1
jsonpickle==4.1.1
jsonpointer==3.0.0
jsonschema==4.25.1
jsonschema-specifications==2025.9.1
jupyter==1.1.1
jupyter-console==6.6.3
jupyter-events==0.12.0
jupyter-lsp==2.3.0
jupyter_client==8.6.3
jupyter_core==5.9.1
jupyter_server==2.17.0
jupyter_server_terminals==0.5.3
jupyterlab==4.4.10
jupyterlab_pygments==0.3.0
jupyterlab_server==2.28.0
jupyterlab_widgets==3.0.16
kiwisolver==1.4.9
kornia==0.8.2
kornia_rs==0.1.10
lark==1.3.1
lazy_loader==0.4
lightning==2.5.6
lightning-utilities==0.15.2
loguru==0.7.3
markdown-it-py==4.0.0
MarkupSafe==3.0.3
matplotlib==3.10.7
matplotlib-inline==0.2.1
mdurl==0.1.2
mistune==3.1.4
mpmath==1.3.0
multidict==6.7.0
nbclient==0.10.2
nbconvert==7.16.6
nbformat==5.10.4
ndx-pose==0.2.2
nest-asyncio==1.6.0
networkx==3.5
nixio==1.5.4
notebook==7.4.7
notebook_shim==0.2.4
numpy==2.2.6
nvidia-cublas-cu12==12.8.4.1
nvidia-cuda-cupti-cu12==12.8.90
nvidia-cuda-nvrtc-cu12==12.8.93
nvidia-cuda-runtime-cu12==12.8.90
nvidia-cudnn-cu12==9.10.2.21
nvidia-cufft-cu12==11.3.3.83
nvidia-cufile-cu12==1.13.1.3
nvidia-curand-cu12==10.3.9.90
nvidia-cusolver-cu12==11.7.3.90
nvidia-cusparse-cu12==12.5.8.93
nvidia-cusparselt-cu12==0.7.1
nvidia-nccl-cu12==2.27.3
nvidia-nvjitlink-cu12==12.8.93
nvidia-nvtx-cu12==12.8.90
omegaconf==2.3.0
opencv-python==4.12.0.88
opencv-python-headless==4.12.0.88
packaging==25.0
pandas==2.3.3
pandocfilters==1.5.1
parso==0.8.5
pexpect==4.9.0
pillow==12.0.0
platformdirs==4.5.0
prometheus_client==0.23.1
prompt_toolkit==3.0.52
propcache==0.4.1
protobuf==6.33.0
psutil==7.1.3
ptyprocess==0.7.0
pure_eval==0.2.3
pycparser==2.23
pydantic==2.12.4
pydantic_core==2.41.5
Pygments==2.19.2
pykalman==0.10.2
pymatreader==1.1.0
pynwb==3.1.2
pyparsing==3.2.5
PySide6==6.10.0
PySide6_Addons==6.10.0
PySide6_Essentials==6.10.0
python-dateutil==2.9.0.post0
python-json-logger==4.0.0
python-rapidjson==1.22
pytorch-lightning==2.5.6
pytz==2025.2
PyYAML==6.0.3
pyzmq==27.1.0
QtPy==2.4.3
referencing==0.37.0
requests==2.32.5
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rfc3987-syntax==1.1.0
rich==14.2.0
rich-click==1.9.4
rpds-py==0.28.0
ruamel.yaml==0.18.16
ruamel.yaml.clib==0.2.14
scikit-base==0.12.6
scikit-image==0.25.2
scikit-learn==1.7.2
scipy==1.16.3
seaborn==0.13.2
Send2Trash==1.8.3
sentry-sdk==2.44.0
setuptools==80.9.0
shiboken6==6.10.0
simplejson==3.20.2
simsimd==6.5.3
six==1.17.0
sleap==1.5.2
sleap-io==0.5.7
sleap-nn==0.0.4
smmap==5.0.2
sniffio==1.3.1
soupsieve==2.8
stack-data==0.6.3
stringzilla==4.2.3
sympy==1.14.0
terminado==0.18.1
threadpoolctl==3.6.0
tifffile==2025.10.16
tinycss2==1.4.0
torch==2.8.0+cu128
torchmetrics==1.8.2
torchvision==0.23.0+cu128
tornado==6.5.2
tqdm==4.67.1
traitlets==5.14.3
triton==3.4.0
typing-inspection==0.4.2
typing_extensions==4.15.0
tzdata==2025.2
tzlocal==5.3.1
uri-template==1.3.0
urllib3==2.5.0
wandb==0.23.0
wcwidth==0.2.14
webcolors==25.10.0
webencodings==0.5.1
websocket-client==1.9.0
widgetsnbextension==4.0.15
xmltodict==1.0.2
yarl==1.22.0

</details>

<details><summary>Logs</summary>
<!--
Please share any applicable terminal logs. optionally share output from sleap-diagnostic
-->

paste relevant logs here, if any


</details>

## Screenshots

<!-- Provide any relevant screenshots -->

## How to reproduce

<!-- Use this section to describe the steps that a user would take to experience this bug. eg:-->

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions