sleap icon indicating copy to clipboard operation
sleap copied to clipboard

Installation issue on Macbook M4

Open hamiltonoh opened this issue 6 months ago • 13 comments

Bug description

Successful installation, followed by crash when trying to run sleap-label. Chat GPT says "The error is clear that both Qt5 and Qt6 are present in the same Conda environment, which causes crashes"

Expected behaviour

Successful sleap-label GUI

Actual behaviour

After installation with "conda create -y -n sleap -c conda-forge -c anaconda -c sleap sleap=1.4.1", followed by "conda activate sleap" and "sleap-label", I receive the following message:

"objc[8746]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x14a9456c8) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x175eed2f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[8746]: Class KeyValueObserver is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x14a9456f0) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x175eed320). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[8746]: Class RunLoopModeTracker is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x14a945790) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x175eed370). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. Saving config: /Users/hamilton.oh/.sleap/1.4.1/preferences.yaml zsh: segmentation fault sleap-label"

and python shuts down.

Image

"conda list | grep qt" shows: libopencv 4.11.0 qt6_py39h9d66867_609 conda-forge opencv 4.11.0 qt6_py39hb1f062c_609 conda-forge py-opencv 4.11.0 qt6_py39h0eb5886_609 conda-forge qt-main 5.15.15 h67564f6_4 conda-forge qt6-main 6.9.1 h9cca212_1 conda-forge qtpy 2.4.3 pyhd8ed1ab_1 conda-forge

I've tried "conda remove qt-main", but that deletes pretty much the whole package including sleap-label

Your personal set up

Macbook M4 Pro.

Environment packages
(sleap) hamilton.oh@MLSJ7RC6YM9NP ~ % conda list
# packages in environment at /opt/miniconda3/envs/sleap:
#
# Name                                  Version          Build                   Channel
absl-py                                 2.1.0            pypi_0                  pypi
albumentations                          1.3.1            pyhd8ed1ab_0            conda-forge
aom                                     3.9.1            h7bae524_0              conda-forge
astunparse                              1.6.3            pypi_0                  pypi
attrs                                   25.3.0           pyh71513ae_0            conda-forge
blosc                                   1.21.6           h7dd00d9_1              conda-forge
brotli                                  1.1.0            h5505292_3              conda-forge
brotli-bin                              1.1.0            h5505292_3              conda-forge
brunsli                                 0.1              h9f76cd9_0              conda-forge
bzip2                                   1.0.8            h99b78c6_7              conda-forge
c-ares                                  1.34.5           h5505292_0              conda-forge
c-blosc2                                2.17.1           h9cbb436_0              conda-forge
ca-certificates                         2025.6.15        hbd8a1cb_0              conda-forge
cached-property                         1.5.2            hd8ed1ab_1              conda-forge
cached_property                         1.5.2            pyha770c72_1            conda-forge
cachetools                              5.5.0            pypi_0                  pypi
cairo                                   1.18.4           h6a3b0d2_0              conda-forge
cattrs                                  1.1.1            pyhd8ed1ab_0            conda-forge
certifi                                 2025.6.15        pyhd8ed1ab_0            conda-forge
charls                                  2.4.2            h13dd4ca_0              conda-forge
charset-normalizer                      3.4.0            pypi_0                  pypi
contourpy                               1.2.1            py39h48c5dd5_0          conda-forge
cycler                                  0.12.1           pyhd8ed1ab_1            conda-forge
cyrus-sasl                              2.1.28           ha1cbb27_0              conda-forge
dav1d                                   1.2.1            hb547adb_0              conda-forge
dbus                                    1.16.2           hda038a8_0              conda-forge
double-conversion                       3.3.1            h286801f_0              conda-forge
efficientnet                            1.0.0            pypi_0                  pypi
ffmpeg                                  7.1.1            gpl_h20db955_106        conda-forge
flatbuffers                             1.12             pypi_0                  pypi
font-ttf-dejavu-sans-mono               2.37             hab24e00_0              conda-forge
font-ttf-inconsolata                    3.000            h77eed37_0              conda-forge
font-ttf-source-code-pro                2.038            h77eed37_0              conda-forge
font-ttf-ubuntu                         0.83             h77eed37_3              conda-forge
fontconfig                              2.15.0           h1383a14_1              conda-forge
fonts-conda-ecosystem                   1                0                       conda-forge
fonts-conda-forge                       1                0                       conda-forge
fonttools                               4.58.4           py39hefdd603_0          conda-forge
freetype                                2.13.3           hce30654_1              conda-forge
fribidi                                 1.0.10           h27ca646_0              conda-forge
gast                                    0.4.0            pypi_0                  pypi
gdk-pixbuf                              2.42.12          h7ddc832_0              conda-forge
giflib                                  5.2.2            h93a5062_0              conda-forge
glib                                    2.84.2           h85e5b2e_0              conda-forge
glib-tools                              2.84.2           h1dc7a0c_0              conda-forge
gmp                                     6.3.0            h7bae524_2              conda-forge
google-auth                             2.37.0           pypi_0                  pypi
google-auth-oauthlib                    0.4.6            pypi_0                  pypi
google-pasta                            0.2.0            pypi_0                  pypi
graphite2                               1.3.14           h286801f_0              conda-forge
grpcio                                  1.68.1           pypi_0                  pypi
gst-plugins-base                        1.24.11          h3c5c1d0_0              conda-forge
gstreamer                               1.24.11          hfe24232_0              conda-forge
h5py                                    3.14.0           nompi_py39h1bcc307_100  conda-forge
harfbuzz                                11.2.1           hab40de2_0              conda-forge
hdf5                                    1.14.6           nompi_ha698983_101      conda-forge
hdmf                                    3.14.6           pyhd8ed1ab_0            conda-forge
icu                                     75.1             hfee45f7_0              conda-forge
idna                                    3.10             pypi_0                  pypi
image-classifiers                       1.0.0            pypi_0                  pypi
imagecodecs                             2024.12.30       py39hcae9eef_1          conda-forge
imageio                                 2.37.0           pyhfb79c49_0            conda-forge
imageio-ffmpeg                          0.6.0            pyhd8ed1ab_0            conda-forge
imath                                   3.1.12           h025cafa_0              conda-forge
imgstore                                0.2.9            pypi_0                  pypi
importlib-metadata                      8.7.0            pyhe01879c_1            conda-forge
importlib-resources                     6.5.2            pyhd8ed1ab_0            conda-forge
importlib_resources                     6.5.2            pyhd8ed1ab_0            conda-forge
jasper                                  4.2.5            h743e416_0              conda-forge
joblib                                  1.5.1            pyhd8ed1ab_0            conda-forge
jsmin                                   3.0.1            pyhd8ed1ab_1            conda-forge
jsonpickle                              1.2              py_0                    conda-forge
jsonschema                              4.24.0           pyhd8ed1ab_0            conda-forge
jsonschema-specifications               2025.4.1         pyh29332c3_0            conda-forge
jxrlib                                  1.1              h93a5062_3              conda-forge
keras                                   2.9.0            pyhd8ed1ab_0            conda-forge
keras-applications                      1.0.8            pypi_0                  pypi
keras-preprocessing                     1.1.2            pypi_0                  pypi
kiwisolver                              1.4.7            py39h157d57c_0          conda-forge
krb5                                    1.21.3           h237132a_0              conda-forge
lame                                    3.100            h1a8c8d9_1003           conda-forge
lazy-loader                             0.4              pyhd8ed1ab_2            conda-forge
lazy_loader                             0.4              pyhd8ed1ab_2            conda-forge
lcms2                                   2.17             h7eeda09_0              conda-forge
lerc                                    4.0.0            hd64df32_1              conda-forge
libabseil                               20250127.1       cxx17_h07bc746_0        conda-forge
libaec                                  1.1.4            h51d1e36_0              conda-forge
libasprintf                             0.24.1           h493aca8_0              conda-forge
libass                                  0.17.3           h68e5b86_2              conda-forge
libavif16                               1.3.0            hf1e31eb_0              conda-forge
libblas                                 3.9.0            20_osxarm64_openblas    conda-forge
libbrotlicommon                         1.1.0            h5505292_3              conda-forge
libbrotlidec                            1.1.0            h5505292_3              conda-forge
libbrotlienc                            1.1.0            h5505292_3              conda-forge
libcblas                                3.9.0            20_osxarm64_openblas    conda-forge
libclang                                18.1.1           pypi_0                  pypi
libclang-cpp17                          17.0.6           default_hf90f093_8      conda-forge
libclang-cpp18.1                        18.1.8           default_hf90f093_10     conda-forge
libclang13                              20.1.7           default_hee4fbb3_0      conda-forge
libcurl                                 8.14.1           h73640d1_0              conda-forge
libcxx                                  20.1.7           ha82da77_0              conda-forge
libdeflate                              1.24             h5773f1b_0              conda-forge
libedit                                 3.1.20250104     pl5321hafb1f1b_0        conda-forge
libev                                   4.33             h93a5062_2              conda-forge
libexpat                                2.7.0            h286801f_0              conda-forge
libffi                                  3.4.6            h1da3d7d_1              conda-forge
libfreetype                             2.13.3           hce30654_1              conda-forge
libfreetype6                            2.13.3           h1d14073_1              conda-forge
libgettextpo                            0.24.1           h493aca8_0              conda-forge
libgfortran                             5.0.0            14_2_0_h6c33f7e_103     conda-forge
libgfortran5                            14.2.0           h6c33f7e_103            conda-forge
libglib                                 2.84.2           hbec27ea_0              conda-forge
libhwloc                                2.11.2           default_hbce5d74_1001   conda-forge
libhwy                                  1.2.0            h9a9ea7e_0              conda-forge
libiconv                                1.18             hfe07756_1              conda-forge
libintl                                 0.24.1           h493aca8_0              conda-forge
libintl-devel                           0.24.1           h493aca8_0              conda-forge
libjpeg-turbo                           3.1.0            h5505292_0              conda-forge
libjxl                                  0.11.1           h72d67bc_2              conda-forge
liblapack                               3.9.0            20_osxarm64_openblas    conda-forge
liblapacke                              3.9.0            20_osxarm64_openblas    conda-forge
libllvm17                               17.0.6           hc4b4ae8_3              conda-forge
libllvm18                               18.1.8           hc4b4ae8_3              conda-forge
libllvm20                               20.1.7           h598bca7_0              conda-forge
liblzma                                 5.8.1            h39f12f2_2              conda-forge
libnghttp2                              1.64.0           h6d7220d_0              conda-forge
libntlm                                 1.8              h5505292_0              conda-forge
libogg                                  1.3.5            h48c0fde_1              conda-forge
libopenblas                             0.3.25           openmp_h6c19121_0       conda-forge
libopencv                               4.11.0           qt6_py39h9d66867_609    conda-forge
libopenvino                             2025.0.0         h3f17238_3              conda-forge
libopenvino-arm-cpu-plugin              2025.0.0         h3f17238_3              conda-forge
libopenvino-auto-batch-plugin           2025.0.0         h7f72211_3              conda-forge
libopenvino-auto-plugin                 2025.0.0         h7f72211_3              conda-forge
libopenvino-hetero-plugin               2025.0.0         h718ad69_3              conda-forge
libopenvino-ir-frontend                 2025.0.0         h718ad69_3              conda-forge
libopenvino-onnx-frontend               2025.0.0         h1ae5b81_3              conda-forge
libopenvino-paddle-frontend             2025.0.0         h1ae5b81_3              conda-forge
libopenvino-pytorch-frontend            2025.0.0         h286801f_3              conda-forge
libopenvino-tensorflow-frontend         2025.0.0         heb6e3e1_3              conda-forge
libopenvino-tensorflow-lite-frontend    2025.0.0         h286801f_3              conda-forge
libopus                                 1.5.2            h48c0fde_0              conda-forge
libpng                                  1.6.49           h3783ad8_0              conda-forge
libpq                                   17.5             h6896619_0              conda-forge
libprotobuf                             5.29.3           hccd9074_1              conda-forge
librsvg                                 2.58.4           h266df6f_3              conda-forge
libsodium                               1.0.20           h99b78c6_0              conda-forge
libsqlite                               3.50.1           h6fb428d_7              conda-forge
libssh2                                 1.11.1           h1590b86_0              conda-forge
libtiff                                 4.7.0            h2f21f7c_5              conda-forge
libusb                                  1.0.29           hbc156a2_0              conda-forge
libvorbis                               1.3.7            h9f76cd9_0              conda-forge
libvpx                                  1.14.1           h7bae524_0              conda-forge
libwebp-base                            1.5.0            h2471fea_0              conda-forge
libxcb                                  1.17.0           hdb1d25a_0              conda-forge
libxml2                                 2.13.8           h52572c6_0              conda-forge
libxslt                                 1.1.39           h223e5b9_0              conda-forge
libzlib                                 1.3.1            h8359307_2              conda-forge
libzopfli                               1.0.3            h9f76cd9_0              conda-forge
llvm-openmp                             20.1.7           hdb05f8b_0              conda-forge
lz4-c                                   1.10.0           h286801f_1              conda-forge
markdown                                3.7              pypi_0                  pypi
markdown-it-py                          3.0.0            pyhd8ed1ab_1            conda-forge
markupsafe                              3.0.2            pypi_0                  pypi
matplotlib-base                         3.8.4            py39h15359f4_2          conda-forge
mdurl                                   0.1.2            pyhd8ed1ab_1            conda-forge
munkres                                 1.1.4            pyhd8ed1ab_1            conda-forge
ncurses                                 6.5              h5e97a16_3              conda-forge
ndx-pose                                0.1.1            pyhd8ed1ab_0            conda-forge
networkx                                3.2.1            pyhd8ed1ab_0            conda-forge
nixio                                   1.5.4            pypi_0                  pypi
nspr                                    4.36             h5833ebf_0              conda-forge
nss                                     3.113            ha3c76ea_0              conda-forge
numpy                                   1.24.4           pypi_0                  pypi
oauthlib                                3.2.2            pypi_0                  pypi
opencv                                  4.11.0           qt6_py39hb1f062c_609    conda-forge
openexr                                 3.3.4            h37c74dd_0              conda-forge
openh264                                2.6.0            hb5b2745_0              conda-forge
openjpeg                                2.5.3            h8a3d83b_0              conda-forge
openldap                                2.6.10           hbe55e7a_0              conda-forge
openssl                                 3.5.0            h81ee809_1              conda-forge
opt-einsum                              3.4.0            pypi_0                  pypi
packaging                               25.0             pyh29332c3_1            conda-forge
pandas                                  2.2.3            py39hc5ad87a_1          conda-forge
pango                                   1.56.3           h5fd7515_1              conda-forge
patsy                                   1.0.1            pyhd8ed1ab_1            conda-forge
pcre2                                   10.45            ha881caa_0              conda-forge
pillow                                  11.2.1           py39hfea3036_0          conda-forge
pip                                     25.1.1           pyh8b19718_0            conda-forge
pixman                                  0.46.2           h2f9eb0b_0              conda-forge
pkgutil-resolve-name                    1.3.10           pyhd8ed1ab_2            conda-forge
protobuf                                3.19.6           pypi_0                  pypi
psutil                                  7.0.0            py39hf3bc14e_0          conda-forge
pthread-stubs                           0.4              hd74edd7_1002           conda-forge
pugixml                                 1.15             hd3d436d_0              conda-forge
py-opencv                               4.11.0           qt6_py39h0eb5886_609    conda-forge
pyasn1                                  0.6.1            pypi_0                  pypi
pyasn1-modules                          0.4.1            pypi_0                  pypi
pygments                                2.19.2           pyhd8ed1ab_0            conda-forge
pykalman                                0.9.7            pyhd8ed1ab_1            conda-forge
pynwb                                   2.8.3            pyhd8ed1ab_1            conda-forge
pyparsing                               3.2.3            pyhd8ed1ab_1            conda-forge
pyside2                                 5.15.15          py39heabe5ed_0          conda-forge
python                                  3.9.23           h7139b31_0_cpython      conda-forge
python-dateutil                         2.9.0.post0      pyhe01879c_2            conda-forge
python-rapidjson                        1.20             py39h941272d_1          conda-forge
python-tzdata                           2025.2           pyhd8ed1ab_0            conda-forge
python_abi                              3.9              7_cp39                  conda-forge
pytz                                    2024.1           pyhd8ed1ab_0            conda-forge
pywavelets                              1.6.0            py39h161d348_0          conda-forge
pyyaml                                  6.0.2            py39hefdd603_2          conda-forge
pyzmq                                   27.0.0           py39h80d5f2a_0          conda-forge
qimage2ndarray                          1.10.0           pypi_0                  pypi
qt-main                                 5.15.15          h67564f6_4              conda-forge
qt6-main                                6.9.1            h9cca212_1              conda-forge
qtpy                                    2.4.3            pyhd8ed1ab_1            conda-forge
qudida                                  0.0.4            pyhd8ed1ab_0            conda-forge
rav1e                                   0.7.1            h0716509_3              conda-forge
readline                                8.2              h1d1bf99_2              conda-forge
referencing                             0.36.2           pyh29332c3_0            conda-forge
requests                                2.32.3           pypi_0                  pypi
requests-oauthlib                       2.0.0            pypi_0                  pypi
rich                                    14.0.0           pyh29332c3_0            conda-forge
rpds-py                                 0.25.1           py39h51e8d5a_0          conda-forge
ruamel.yaml                             0.18.14          py39hf3bc14e_0          conda-forge
ruamel.yaml.clib                        0.2.8            py39h57695bc_1          conda-forge
scikit-image                            0.24.0           py39h998126f_1          conda-forge
scikit-learn                            1.0              py39h12ba089_1          conda-forge
scikit-video                            1.1.11           pyhecae5ae_1            conda-forge
scipy                                   1.9.0            py39h14896cb_0          conda-forge
sdl2                                    2.32.54          ha1acc90_0              conda-forge
sdl3                                    3.2.16           h92d3ae7_0              conda-forge
seaborn                                 0.13.2           hd8ed1ab_3              conda-forge
seaborn-base                            0.13.2           pyhd8ed1ab_3            conda-forge
segmentation-models                     1.0.1            pypi_0                  pypi
setuptools                              80.9.0           pyhff2d567_0            conda-forge
six                                     1.15.0           pypi_0                  pypi
sleap                                   1.4.1            pypi_0                  pypi
snappy                                  1.2.1            h98b9ce2_1              conda-forge
statsmodels                             0.14.4           py39h914ef23_0          conda-forge
svt-av1                                 3.0.2            h8ab69cd_0              conda-forge
tbb                                     2022.1.0         h9541205_0              conda-forge
tensorboard                             2.9.1            pypi_0                  pypi
tensorboard-data-server                 0.6.1            pypi_0                  pypi
tensorboard-plugin-wit                  1.8.1            pypi_0                  pypi
tensorflow-estimator                    2.9.0            pypi_0                  pypi
tensorflow-hub                          0.12.0           pypi_0                  pypi
tensorflow-macos                        2.9.2            pypi_0                  pypi
tensorflow-metal                        0.5.0            pypi_0                  pypi
termcolor                               2.5.0            pypi_0                  pypi
threadpoolctl                           3.6.0            pyhecae5ae_0            conda-forge
tifffile                                2024.6.18        pyhd8ed1ab_0            conda-forge
tk                                      8.6.13           h892fb3f_2              conda-forge
typing-extensions                       4.14.0           h32cad80_0              conda-forge
typing_extensions                       4.14.0           pyhe01879c_0            conda-forge
tzdata                                  2025b            h78e105d_0              conda-forge
tzlocal                                 5.2              pypi_0                  pypi
unicodedata2                            16.0.0           py39hf3bc14e_0          conda-forge
urllib3                                 2.2.3            pypi_0                  pypi
werkzeug                                3.1.3            pypi_0                  pypi
wheel                                   0.45.1           pyhd8ed1ab_1            conda-forge
wrapt                                   1.17.0           pypi_0                  pypi
x264                                    1!164.3095       h57fd34a_2              conda-forge
x265                                    3.5              hbc6ce65_3              conda-forge
xorg-libxau                             1.0.12           h5505292_0              conda-forge
xorg-libxdmcp                           1.1.5            hd74edd7_0              conda-forge
yaml                                    0.2.5            h3422bc3_2              conda-forge
zeromq                                  4.3.5            hc1bb282_7              conda-forge
zfp                                     1.0.1            h1c5d8ea_2              conda-forge
zipp                                    3.23.0           pyhd8ed1ab_0            conda-forge
zlib-ng                                 2.2.4            h13dfb9a_0              conda-forge
zstd                                    1.5.7            h6491c7d_2              conda-forge
Logs
objc[8921]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x15930d6c8) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x169afd2f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[8921]: Class KeyValueObserver is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x15930d6f0) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x169afd320). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[8921]: Class RunLoopModeTracker is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x15930d790) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x169afd370). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.

==========SYSTEM==========

utc:			2025-06-28 18:21:20.718994
python:			3.9.23
system:			Darwin, arm64, 24.5.0, Darwin Kernel Version 24.5.0: Tue Apr 22 19:53:27 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6041
path:			/Users/hamilton.oh/local/bin:/Users/hamilton.oh/local/scripts:/opt/miniconda3/envs/sleap/bin:/opt/miniconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/iTerm.app/Contents/Resources/utilities

==========IMPORTS==========

sleap import:			True
sleap path:			/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/sleap/__init__.py
sleap version:			1.4.1
pyside2 import:			True
pyside path:			/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/PySide2/__init__.py
objc[8923]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x1309556c8) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x154a612f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[8923]: Class KeyValueObserver is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x1309556f0) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x154a61320). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[8923]: Class RunLoopModeTracker is implemented in both /opt/miniconda3/envs/sleap/lib/libQt6Core.6.9.1.dylib (0x130955790) and /opt/miniconda3/envs/sleap/lib/libQt5Core.5.15.15.dylib (0x154a61370). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
successfully created PySide2.QtWidgets.QApplication instance

pyside6 import:			False
cv2 import:			True

==========GIT==========

call to git failed
fatal: not a git repository (or any of the parent directories): .git

call to git failed
fatal: not a git repository (or any of the parent directories): .git


==========TENSORFLOW==========

tensorflow import:			True
tensorflow version:			2.9.2
tensorflow path:			/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/tensorflow/__init__.py
gpus:			[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]

==========CONDA==========

# packages in environment at /opt/miniconda3/envs/sleap:
#
# Name                                  Version          Build                   Channel
absl-py                                 2.1.0            pypi_0                  pypi
albumentations                          1.3.1            pyhd8ed1ab_0            conda-forge
aom                                     3.9.1            h7bae524_0              conda-forge
astunparse                              1.6.3            pypi_0                  pypi
attrs                                   25.3.0           pyh71513ae_0            conda-forge
blosc                                   1.21.6           h7dd00d9_1              conda-forge
brotli                                  1.1.0            h5505292_3              conda-forge
brotli-bin                              1.1.0            h5505292_3              conda-forge
brunsli                                 0.1              h9f76cd9_0              conda-forge
bzip2                                   1.0.8            h99b78c6_7              conda-forge
c-ares                                  1.34.5           h5505292_0              conda-forge
c-blosc2                                2.17.1           h9cbb436_0              conda-forge
ca-certificates                         2025.6.15        hbd8a1cb_0              conda-forge
cached-property                         1.5.2            hd8ed1ab_1              conda-forge
cached_property                         1.5.2            pyha770c72_1            conda-forge
cachetools                              5.5.0            pypi_0                  pypi
cairo                                   1.18.4           h6a3b0d2_0              conda-forge
cattrs                                  1.1.1            pyhd8ed1ab_0            conda-forge
certifi                                 2025.6.15        pyhd8ed1ab_0            conda-forge
charls                                  2.4.2            h13dd4ca_0              conda-forge
charset-normalizer                      3.4.0            pypi_0                  pypi
contourpy                               1.2.1            py39h48c5dd5_0          conda-forge
cycler                                  0.12.1           pyhd8ed1ab_1            conda-forge
cyrus-sasl                              2.1.28           ha1cbb27_0              conda-forge
dav1d                                   1.2.1            hb547adb_0              conda-forge
dbus                                    1.16.2           hda038a8_0              conda-forge
double-conversion                       3.3.1            h286801f_0              conda-forge
efficientnet                            1.0.0            pypi_0                  pypi
ffmpeg                                  7.1.1            gpl_h20db955_106        conda-forge
flatbuffers                             1.12             pypi_0                  pypi
font-ttf-dejavu-sans-mono               2.37             hab24e00_0              conda-forge
font-ttf-inconsolata                    3.000            h77eed37_0              conda-forge
font-ttf-source-code-pro                2.038            h77eed37_0              conda-forge
font-ttf-ubuntu                         0.83             h77eed37_3              conda-forge
fontconfig                              2.15.0           h1383a14_1              conda-forge
fonts-conda-ecosystem                   1                0                       conda-forge
fonts-conda-forge                       1                0                       conda-forge
fonttools                               4.58.4           py39hefdd603_0          conda-forge
freetype                                2.13.3           hce30654_1              conda-forge
fribidi                                 1.0.10           h27ca646_0              conda-forge
gast                                    0.4.0            pypi_0                  pypi
gdk-pixbuf                              2.42.12          h7ddc832_0              conda-forge
giflib                                  5.2.2            h93a5062_0              conda-forge
glib                                    2.84.2           h85e5b2e_0              conda-forge
glib-tools                              2.84.2           h1dc7a0c_0              conda-forge
gmp                                     6.3.0            h7bae524_2              conda-forge
google-auth                             2.37.0           pypi_0                  pypi
google-auth-oauthlib                    0.4.6            pypi_0                  pypi
google-pasta                            0.2.0            pypi_0                  pypi
graphite2                               1.3.14           h286801f_0              conda-forge
grpcio                                  1.68.1           pypi_0                  pypi
gst-plugins-base                        1.24.11          h3c5c1d0_0              conda-forge
gstreamer                               1.24.11          hfe24232_0              conda-forge
h5py                                    3.14.0           nompi_py39h1bcc307_100  conda-forge
harfbuzz                                11.2.1           hab40de2_0              conda-forge
hdf5                                    1.14.6           nompi_ha698983_101      conda-forge
hdmf                                    3.14.6           pyhd8ed1ab_0            conda-forge
icu                                     75.1             hfee45f7_0              conda-forge
idna                                    3.10             pypi_0                  pypi
image-classifiers                       1.0.0            pypi_0                  pypi
imagecodecs                             2024.12.30       py39hcae9eef_1          conda-forge
imageio                                 2.37.0           pyhfb79c49_0            conda-forge
imageio-ffmpeg                          0.6.0            pyhd8ed1ab_0            conda-forge
imath                                   3.1.12           h025cafa_0              conda-forge
imgstore                                0.2.9            pypi_0                  pypi
importlib-metadata                      8.7.0            pyhe01879c_1            conda-forge
importlib-resources                     6.5.2            pyhd8ed1ab_0            conda-forge
importlib_resources                     6.5.2            pyhd8ed1ab_0            conda-forge
jasper                                  4.2.5            h743e416_0              conda-forge
joblib                                  1.5.1            pyhd8ed1ab_0            conda-forge
jsmin                                   3.0.1            pyhd8ed1ab_1            conda-forge
jsonpickle                              1.2              py_0                    conda-forge
jsonschema                              4.24.0           pyhd8ed1ab_0            conda-forge
jsonschema-specifications               2025.4.1         pyh29332c3_0            conda-forge
jxrlib                                  1.1              h93a5062_3              conda-forge
keras                                   2.9.0            pyhd8ed1ab_0            conda-forge
keras-applications                      1.0.8            pypi_0                  pypi
keras-preprocessing                     1.1.2            pypi_0                  pypi
kiwisolver                              1.4.7            py39h157d57c_0          conda-forge
krb5                                    1.21.3           h237132a_0              conda-forge
lame                                    3.100            h1a8c8d9_1003           conda-forge
lazy-loader                             0.4              pyhd8ed1ab_2            conda-forge
lazy_loader                             0.4              pyhd8ed1ab_2            conda-forge
lcms2                                   2.17             h7eeda09_0              conda-forge
lerc                                    4.0.0            hd64df32_1              conda-forge
libabseil                               20250127.1       cxx17_h07bc746_0        conda-forge
libaec                                  1.1.4            h51d1e36_0              conda-forge
libasprintf                             0.24.1           h493aca8_0              conda-forge
libass                                  0.17.3           h68e5b86_2              conda-forge
libavif16                               1.3.0            hf1e31eb_0              conda-forge
libblas                                 3.9.0            20_osxarm64_openblas    conda-forge
libbrotlicommon                         1.1.0            h5505292_3              conda-forge
libbrotlidec                            1.1.0            h5505292_3              conda-forge
libbrotlienc                            1.1.0            h5505292_3              conda-forge
libcblas                                3.9.0            20_osxarm64_openblas    conda-forge
libclang                                18.1.1           pypi_0                  pypi
libclang-cpp17                          17.0.6           default_hf90f093_8      conda-forge
libclang-cpp18.1                        18.1.8           default_hf90f093_10     conda-forge
libclang13                              20.1.7           default_hee4fbb3_0      conda-forge
libcurl                                 8.14.1           h73640d1_0              conda-forge
libcxx                                  20.1.7           ha82da77_0              conda-forge
libdeflate                              1.24             h5773f1b_0              conda-forge
libedit                                 3.1.20250104     pl5321hafb1f1b_0        conda-forge
libev                                   4.33             h93a5062_2              conda-forge
libexpat                                2.7.0            h286801f_0              conda-forge
libffi                                  3.4.6            h1da3d7d_1              conda-forge
libfreetype                             2.13.3           hce30654_1              conda-forge
libfreetype6                            2.13.3           h1d14073_1              conda-forge
libgettextpo                            0.24.1           h493aca8_0              conda-forge
libgfortran                             5.0.0            14_2_0_h6c33f7e_103     conda-forge
libgfortran5                            14.2.0           h6c33f7e_103            conda-forge
libglib                                 2.84.2           hbec27ea_0              conda-forge
libhwloc                                2.11.2           default_hbce5d74_1001   conda-forge
libhwy                                  1.2.0            h9a9ea7e_0              conda-forge
libiconv                                1.18             hfe07756_1              conda-forge
libintl                                 0.24.1           h493aca8_0              conda-forge
libintl-devel                           0.24.1           h493aca8_0              conda-forge
libjpeg-turbo                           3.1.0            h5505292_0              conda-forge
libjxl                                  0.11.1           h72d67bc_2              conda-forge
liblapack                               3.9.0            20_osxarm64_openblas    conda-forge
liblapacke                              3.9.0            20_osxarm64_openblas    conda-forge
libllvm17                               17.0.6           hc4b4ae8_3              conda-forge
libllvm18                               18.1.8           hc4b4ae8_3              conda-forge
libllvm20                               20.1.7           h598bca7_0              conda-forge
liblzma                                 5.8.1            h39f12f2_2              conda-forge
libnghttp2                              1.64.0           h6d7220d_0              conda-forge
libntlm                                 1.8              h5505292_0              conda-forge
libogg                                  1.3.5            h48c0fde_1              conda-forge
libopenblas                             0.3.25           openmp_h6c19121_0       conda-forge
libopencv                               4.11.0           qt6_py39h9d66867_609    conda-forge
libopenvino                             2025.0.0         h3f17238_3              conda-forge
libopenvino-arm-cpu-plugin              2025.0.0         h3f17238_3              conda-forge
libopenvino-auto-batch-plugin           2025.0.0         h7f72211_3              conda-forge
libopenvino-auto-plugin                 2025.0.0         h7f72211_3              conda-forge
libopenvino-hetero-plugin               2025.0.0         h718ad69_3              conda-forge
libopenvino-ir-frontend                 2025.0.0         h718ad69_3              conda-forge
libopenvino-onnx-frontend               2025.0.0         h1ae5b81_3              conda-forge
libopenvino-paddle-frontend             2025.0.0         h1ae5b81_3              conda-forge
libopenvino-pytorch-frontend            2025.0.0         h286801f_3              conda-forge
libopenvino-tensorflow-frontend         2025.0.0         heb6e3e1_3              conda-forge
libopenvino-tensorflow-lite-frontend    2025.0.0         h286801f_3              conda-forge
libopus                                 1.5.2            h48c0fde_0              conda-forge
libpng                                  1.6.49           h3783ad8_0              conda-forge
libpq                                   17.5             h6896619_0              conda-forge
libprotobuf                             5.29.3           hccd9074_1              conda-forge
librsvg                                 2.58.4           h266df6f_3              conda-forge
libsodium                               1.0.20           h99b78c6_0              conda-forge
libsqlite                               3.50.1           h6fb428d_7              conda-forge
libssh2                                 1.11.1           h1590b86_0              conda-forge
libtiff                                 4.7.0            h2f21f7c_5              conda-forge
libusb                                  1.0.29           hbc156a2_0              conda-forge
libvorbis                               1.3.7            h9f76cd9_0              conda-forge
libvpx                                  1.14.1           h7bae524_0              conda-forge
libwebp-base                            1.5.0            h2471fea_0              conda-forge
libxcb                                  1.17.0           hdb1d25a_0              conda-forge
libxml2                                 2.13.8           h52572c6_0              conda-forge
libxslt                                 1.1.39           h223e5b9_0              conda-forge
libzlib                                 1.3.1            h8359307_2              conda-forge
libzopfli                               1.0.3            h9f76cd9_0              conda-forge
llvm-openmp                             20.1.7           hdb05f8b_0              conda-forge
lz4-c                                   1.10.0           h286801f_1              conda-forge
markdown                                3.7              pypi_0                  pypi
markdown-it-py                          3.0.0            pyhd8ed1ab_1            conda-forge
markupsafe                              3.0.2            pypi_0                  pypi
matplotlib-base                         3.8.4            py39h15359f4_2          conda-forge
mdurl                                   0.1.2            pyhd8ed1ab_1            conda-forge
munkres                                 1.1.4            pyhd8ed1ab_1            conda-forge
ncurses                                 6.5              h5e97a16_3              conda-forge
ndx-pose                                0.1.1            pyhd8ed1ab_0            conda-forge
networkx                                3.2.1            pyhd8ed1ab_0            conda-forge
nixio                                   1.5.4            pypi_0                  pypi
nspr                                    4.36             h5833ebf_0              conda-forge
nss                                     3.113            ha3c76ea_0              conda-forge
numpy                                   1.24.4           pypi_0                  pypi
oauthlib                                3.2.2            pypi_0                  pypi
opencv                                  4.11.0           qt6_py39hb1f062c_609    conda-forge
openexr                                 3.3.4            h37c74dd_0              conda-forge
openh264                                2.6.0            hb5b2745_0              conda-forge
openjpeg                                2.5.3            h8a3d83b_0              conda-forge
openldap                                2.6.10           hbe55e7a_0              conda-forge
openssl                                 3.5.0            h81ee809_1              conda-forge
opt-einsum                              3.4.0            pypi_0                  pypi
packaging                               25.0             pyh29332c3_1            conda-forge
pandas                                  2.2.3            py39hc5ad87a_1          conda-forge
pango                                   1.56.3           h5fd7515_1              conda-forge
patsy                                   1.0.1            pyhd8ed1ab_1            conda-forge
pcre2                                   10.45            ha881caa_0              conda-forge
pillow                                  11.2.1           py39hfea3036_0          conda-forge
pip                                     25.1.1           pyh8b19718_0            conda-forge
pixman                                  0.46.2           h2f9eb0b_0              conda-forge
pkgutil-resolve-name                    1.3.10           pyhd8ed1ab_2            conda-forge
protobuf                                3.19.6           pypi_0                  pypi
psutil                                  7.0.0            py39hf3bc14e_0          conda-forge
pthread-stubs                           0.4              hd74edd7_1002           conda-forge
pugixml                                 1.15             hd3d436d_0              conda-forge
py-opencv                               4.11.0           qt6_py39h0eb5886_609    conda-forge
pyasn1                                  0.6.1            pypi_0                  pypi
pyasn1-modules                          0.4.1            pypi_0                  pypi
pygments                                2.19.2           pyhd8ed1ab_0            conda-forge
pykalman                                0.9.7            pyhd8ed1ab_1            conda-forge
pynwb                                   2.8.3            pyhd8ed1ab_1            conda-forge
pyparsing                               3.2.3            pyhd8ed1ab_1            conda-forge
pyside2                                 5.15.15          py39heabe5ed_0          conda-forge
python                                  3.9.23           h7139b31_0_cpython      conda-forge
python-dateutil                         2.9.0.post0      pyhe01879c_2            conda-forge
python-rapidjson                        1.20             py39h941272d_1          conda-forge
python-tzdata                           2025.2           pyhd8ed1ab_0            conda-forge
python_abi                              3.9              7_cp39                  conda-forge
pytz                                    2024.1           pyhd8ed1ab_0            conda-forge
pywavelets                              1.6.0            py39h161d348_0          conda-forge
pyyaml                                  6.0.2            py39hefdd603_2          conda-forge
pyzmq                                   27.0.0           py39h80d5f2a_0          conda-forge
qimage2ndarray                          1.10.0           pypi_0                  pypi
qt-main                                 5.15.15          h67564f6_4              conda-forge
qt6-main                                6.9.1            h9cca212_1              conda-forge
qtpy                                    2.4.3            pyhd8ed1ab_1            conda-forge
qudida                                  0.0.4            pyhd8ed1ab_0            conda-forge
rav1e                                   0.7.1            h0716509_3              conda-forge
readline                                8.2              h1d1bf99_2              conda-forge
referencing                             0.36.2           pyh29332c3_0            conda-forge
requests                                2.32.3           pypi_0                  pypi
requests-oauthlib                       2.0.0            pypi_0                  pypi
rich                                    14.0.0           pyh29332c3_0            conda-forge
rpds-py                                 0.25.1           py39h51e8d5a_0          conda-forge
ruamel.yaml                             0.18.14          py39hf3bc14e_0          conda-forge
ruamel.yaml.clib                        0.2.8            py39h57695bc_1          conda-forge
scikit-image                            0.24.0           py39h998126f_1          conda-forge
scikit-learn                            1.0              py39h12ba089_1          conda-forge
scikit-video                            1.1.11           pyhecae5ae_1            conda-forge
scipy                                   1.9.0            py39h14896cb_0          conda-forge
sdl2                                    2.32.54          ha1acc90_0              conda-forge
sdl3                                    3.2.16           h92d3ae7_0              conda-forge
seaborn                                 0.13.2           hd8ed1ab_3              conda-forge
seaborn-base                            0.13.2           pyhd8ed1ab_3            conda-forge
segmentation-models                     1.0.1            pypi_0                  pypi
setuptools                              80.9.0           pyhff2d567_0            conda-forge
six                                     1.15.0           pypi_0                  pypi
sleap                                   1.4.1            pypi_0                  pypi
snappy                                  1.2.1            h98b9ce2_1              conda-forge
statsmodels                             0.14.4           py39h914ef23_0          conda-forge
svt-av1                                 3.0.2            h8ab69cd_0              conda-forge
tbb                                     2022.1.0         h9541205_0              conda-forge
tensorboard                             2.9.1            pypi_0                  pypi
tensorboard-data-server                 0.6.1            pypi_0                  pypi
tensorboard-plugin-wit                  1.8.1            pypi_0                  pypi
tensorflow-estimator                    2.9.0            pypi_0                  pypi
tensorflow-hub                          0.12.0           pypi_0                  pypi
tensorflow-macos                        2.9.2            pypi_0                  pypi
tensorflow-metal                        0.5.0            pypi_0                  pypi
termcolor                               2.5.0            pypi_0                  pypi
threadpoolctl                           3.6.0            pyhecae5ae_0            conda-forge
tifffile                                2024.6.18        pyhd8ed1ab_0            conda-forge
tk                                      8.6.13           h892fb3f_2              conda-forge
typing-extensions                       4.14.0           h32cad80_0              conda-forge
typing_extensions                       4.14.0           pyhe01879c_0            conda-forge
tzdata                                  2025b            h78e105d_0              conda-forge
tzlocal                                 5.2              pypi_0                  pypi
unicodedata2                            16.0.0           py39hf3bc14e_0          conda-forge
urllib3                                 2.2.3            pypi_0                  pypi
werkzeug                                3.1.3            pypi_0                  pypi
wheel                                   0.45.1           pyhd8ed1ab_1            conda-forge
wrapt                                   1.17.0           pypi_0                  pypi
x264                                    1!164.3095       h57fd34a_2              conda-forge
x265                                    3.5              hbc6ce65_3              conda-forge
xorg-libxau                             1.0.12           h5505292_0              conda-forge
xorg-libxdmcp                           1.1.5            hd74edd7_0              conda-forge
yaml                                    0.2.5            h3422bc3_2              conda-forge
zeromq                                  4.3.5            hc1bb282_7              conda-forge
zfp                                     1.0.1            h1c5d8ea_2              conda-forge
zipp                                    3.23.0           pyhd8ed1ab_0            conda-forge
zlib-ng                                 2.2.4            h13dfb9a_0              conda-forge
zstd                                    1.5.7            h6491c7d_2              conda-forge


==========PIP==========

absl-py==2.1.0
albumentations @ file:///home/conda/feedstock_root/build_artifacts/albumentations_1686576355052/work
astunparse==1.6.3
attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1741918516150/work
cached-property @ file:///home/conda/feedstock_root/build_artifacts/cached_property_1615209429212/work
cachetools==5.5.0
cattrs @ file:///home/conda/feedstock_root/build_artifacts/cattrs_1604136207372/work
certifi @ file:///home/conda/feedstock_root/build_artifacts/certifi_1749972191589/work/certifi
charset-normalizer==3.4.0
contourpy @ file:///Users/runner/miniforge3/conda-bld/contourpy_1712429965428/work
cycler @ file:///home/conda/feedstock_root/build_artifacts/cycler_1733332471406/work
efficientnet==1.0.0
flatbuffers==1.12
fonttools @ file:///Users/runner/miniforge3/conda-bld/fonttools_1749848432919/work
gast==0.4.0
google-auth==2.37.0
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.68.1
h5py @ file:///Users/runner/miniforge3/conda-bld/h5py_1749299300616/work
hdmf @ file:///home/conda/feedstock_root/build_artifacts/hdmf_1734832004472/work
idna==3.10
image-classifiers==1.0.0
imagecodecs @ file:///Users/runner/miniforge3/conda-bld/imagecodecs_1747074361963/work
imageio @ file:///home/conda/feedstock_root/build_artifacts/imageio_1738273805233/work
imageio-ffmpeg @ file:///home/conda/feedstock_root/build_artifacts/imageio-ffmpeg_1737102630951/work
imgstore==0.2.9
importlib_metadata @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_importlib-metadata_1747934053/work
importlib_resources @ file:///home/conda/feedstock_root/build_artifacts/importlib_resources_1736252299705/work
joblib @ file:///home/conda/feedstock_root/build_artifacts/joblib_1748019130050/work
jsmin @ file:///home/conda/feedstock_root/build_artifacts/jsmin_1734957271732/work
jsonpickle==1.2
jsonschema @ file:///home/conda/feedstock_root/build_artifacts/jsonschema_1748294245630/work
jsonschema-specifications @ file:///tmp/tmpuvkyqc9y/src
keras @ file:///home/conda/feedstock_root/build_artifacts/keras_1652925255303/work/keras-2.9.0-py2.py3-none-any.whl
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.2
kiwisolver @ file:///Users/runner/miniforge3/conda-bld/kiwisolver_1725459226886/work
lazy_loader @ file:///home/conda/feedstock_root/build_artifacts/lazy-loader_1733636780672/work
libclang==18.1.1
Markdown==3.7
markdown-it-py @ file:///home/conda/feedstock_root/build_artifacts/markdown-it-py_1733250460757/work
MarkupSafe==3.0.2
matplotlib @ file:///Users/runner/miniforge3/conda-bld/matplotlib-suite_1715976202591/work
mdurl @ file:///home/conda/feedstock_root/build_artifacts/mdurl_1733255585584/work
munkres==1.1.4
ndx-pose @ file:///home/conda/feedstock_root/build_artifacts/ndx-pose_1706810229855/work
networkx @ file:///home/conda/feedstock_root/build_artifacts/networkx_1698504735452/work
nixio==1.5.4
numpy @ file:///Users/runner/miniforge3/conda-bld/numpy_1653325964689/work
oauthlib==3.2.2
opencv-python==4.11.0
opencv-python-headless==4.11.0
opt_einsum==3.4.0
packaging @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_packaging_1745345660/work
pandas @ file:///Users/runner/miniforge3/conda-bld/pandas_1726878429351/work
patsy @ file:///home/conda/feedstock_root/build_artifacts/patsy_1733792384640/work
pillow @ file:///Users/runner/miniforge3/conda-bld/pillow_1746646280087/work
pkgutil_resolve_name @ file:///home/conda/feedstock_root/build_artifacts/pkgutil-resolve-name_1733344503739/work
protobuf==3.19.6
psutil @ file:///Users/runner/miniforge3/conda-bld/psutil_1740663174295/work
pyasn1==0.6.1
pyasn1_modules==0.4.1
Pygments @ file:///home/conda/feedstock_root/build_artifacts/pygments_1750615794071/work
pykalman @ file:///home/conda/feedstock_root/build_artifacts/pykalman_1736266771458/work
pynwb @ file:///home/conda/feedstock_root/build_artifacts/pynwb_1734810904139/work
pyparsing @ file:///home/conda/feedstock_root/build_artifacts/pyparsing_1743089729650/work
PySide2==5.15.15
python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_python-dateutil_1751104122/work
python-rapidjson @ file:///Users/runner/miniforge3/conda-bld/python-rapidjson_1740176765140/work
pytz @ file:///home/conda/feedstock_root/build_artifacts/pytz_1706886791323/work
PyWavelets==1.6.0
PyYAML @ file:///Users/runner/miniforge3/conda-bld/pyyaml_1737454732336/work
pyzmq @ file:///Users/runner/miniforge3/conda-bld/pyzmq_1749898505641/work
qimage2ndarray==1.10.0
QtPy @ file:///home/conda/feedstock_root/build_artifacts/qtpy_1749167083742/work
qudida @ file:///home/conda/feedstock_root/build_artifacts/qudida_1651101164121/work
referencing @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_referencing_1737836872/work
requests==2.32.3
requests-oauthlib==2.0.0
rich @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_rich_1743371105/work/dist
rpds-py @ file:///Users/runner/miniforge3/conda-bld/bld/rattler-build_rpds-py_1747837782/work
rsa==4.9
ruamel.yaml @ file:///Users/runner/miniforge3/conda-bld/ruamel.yaml_1749480012884/work
ruamel.yaml.clib @ file:///Users/runner/miniforge3/conda-bld/ruamel.yaml.clib_1728724493881/work
scikit-image @ file:///Users/runner/miniforge3/conda-bld/scikit-image_1719499452114/work/dist/scikit_image-0.24.0-cp39-cp39-macosx_11_0_arm64.whl#sha256=99a9d204a057340ff924741a9aa0c4fdd1ef9e918063988d46ba4645bcedbc64
scikit-learn @ file:///Users/runner/miniforge3/conda-bld/scikit-learn_1632611447519/work
scikit-video @ file:///home/conda/feedstock_root/build_artifacts/scikit-video_1747341405136/work
scipy==1.9.0
seaborn @ file:///home/conda/feedstock_root/build_artifacts/seaborn-split_1733730015268/work
segmentation-models==1.0.1
shiboken2==5.15.15
six==1.15.0
sleap==1.4.1
statsmodels @ file:///Users/runner/miniforge3/conda-bld/statsmodels_1727986732968/work
tensorboard==2.9.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow-estimator==2.9.0
tensorflow-hub==0.12.0
tensorflow-macos==2.9.2
tensorflow-metal==0.5.0
termcolor==2.5.0
threadpoolctl @ file:///home/conda/feedstock_root/build_artifacts/threadpoolctl_1741878222898/work
tifffile @ file:///home/conda/feedstock_root/build_artifacts/tifffile_1718963615451/work
typing_extensions @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_typing_extensions_1748959427/work
tzdata @ file:///home/conda/feedstock_root/build_artifacts/python-tzdata_1742745135198/work
tzlocal==5.2
unicodedata2 @ file:///Users/runner/miniforge3/conda-bld/unicodedata2_1736692557404/work
urllib3==2.2.3
Werkzeug==3.1.3
wrapt==1.17.0
zipp @ file:///home/conda/feedstock_root/build_artifacts/zipp_1749421620841/work


==========NVIDIA==========

unable to locate nvidia-smi

Screenshots

How to reproduce

  1. install through Mac, on Mac M4 MacOS 15.5
  2. activate sleap environment and try to run sleap-label
  3. error, python crashses

hamiltonoh avatar Jun 28 '25 18:06 hamiltonoh

Hi @hamiltonoh !

Could you try uninstalling qt6, conda uninstall qt6-main and retain all the other qt packages?

Thanks,

Divya

gitttt-1234 avatar Jul 01 '25 06:07 gitttt-1234

Hi Divya!

Thanks for your response. I tried to run conda uninstall qt6-main, but it attempted to remove all the dependencies again. I then ran conda remove --force qt6-main, but when I tried to run sleap-label afterwards, there was another error.

(base) hamilton.oh@MLSJ7RC6YM9NP ~ % conda activate sleap
(sleap) hamilton.oh@MLSJ7RC6YM9NP ~ % conda conda list | grep qtc
(sleap) hamilton.oh@MLSJ7RC6YM9NP ~ % conda list | grep qt
libopencv                               4.11.0           qt6_py39h9d66867_609    conda-forge
opencv                                  4.11.0           qt6_py39hb1f062c_609    conda-forge
py-opencv                               4.11.0           qt6_py39h0eb5886_609    conda-forge
qt-main                                 5.15.15          h67564f6_4              conda-forge
qt6-main                                6.9.1            h9cca212_1              conda-forge
qtpy                                    2.4.3            pyhd8ed1ab_1            conda-forge
(sleap) hamilton.oh@MLSJ7RC6YM9NP ~ % conda uninstall qt6-main
Channels:
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/miniconda3/envs/sleap

  removed specs:
    - qt6-main


The following packages will be REMOVED:

  albumentations-1.3.1-pyhd8ed1ab_0
  aom-3.9.1-h7bae524_0
  attrs-25.3.0-pyh71513ae_0
  blosc-1.21.6-h7dd00d9_1
  brotli-1.1.0-h5505292_3
  brotli-bin-1.1.0-h5505292_3
  brunsli-0.1-h9f76cd9_0
  c-ares-1.34.5-h5505292_0
  c-blosc2-2.17.1-h9cbb436_0
  cached-property-1.5.2-hd8ed1ab_1
  cached_property-1.5.2-pyha770c72_1
  cattrs-1.1.1-pyhd8ed1ab_0
  charls-2.4.2-h13dd4ca_0
  contourpy-1.2.1-py39h48c5dd5_0
  cycler-0.12.1-pyhd8ed1ab_1
  cyrus-sasl-2.1.28-ha1cbb27_0
  dav1d-1.2.1-hb547adb_0
  double-conversion-3.3.1-h286801f_0
  ffmpeg-7.1.1-gpl_h20db955_106
  fonttools-4.58.4-py39hefdd603_0
  gdk-pixbuf-2.42.12-h7ddc832_0
  giflib-5.2.2-h93a5062_0
  glib-2.84.2-h85e5b2e_0
  glib-tools-2.84.2-h1dc7a0c_0
  gmp-6.3.0-h7bae524_2
  gst-plugins-base-1.24.11-h3c5c1d0_0
  gstreamer-1.24.11-hfe24232_0
  h5py-3.14.0-nompi_py39h1bcc307_100
  hdf5-1.14.6-nompi_ha698983_101
  hdmf-3.14.6-pyhd8ed1ab_0
  imagecodecs-2024.12.30-py39hcae9eef_1
  imageio-2.37.0-pyhfb79c49_0
  imageio-ffmpeg-0.6.0-pyhd8ed1ab_0
  imath-3.1.12-h025cafa_0
  importlib-metadata-8.7.0-pyhe01879c_1
  importlib-resources-6.5.2-pyhd8ed1ab_0
  importlib_resources-6.5.2-pyhd8ed1ab_0
  jasper-4.2.5-h743e416_0
  joblib-1.5.1-pyhd8ed1ab_0
  jsmin-3.0.1-pyhd8ed1ab_1
  jsonpickle-1.2-py_0
  jsonschema-4.24.0-pyhd8ed1ab_0
  jsonschema-specifications-2025.4.1-pyh29332c3_0
  jxrlib-1.1-h93a5062_3
  keras-2.9.0-pyhd8ed1ab_0
  kiwisolver-1.4.7-py39h157d57c_0
  krb5-1.21.3-h237132a_0
  lame-3.100-h1a8c8d9_1003
  lazy-loader-0.4-pyhd8ed1ab_2
  lazy_loader-0.4-pyhd8ed1ab_2
  lcms2-2.17-h7eeda09_0
  lerc-4.0.0-hd64df32_1
  libabseil-20250127.1-cxx17_h07bc746_0
  libaec-1.1.4-h51d1e36_0
  libasprintf-0.24.1-h493aca8_0
  libavif16-1.3.0-hf1e31eb_0
  libblas-3.9.0-20_osxarm64_openblas
  libbrotlicommon-1.1.0-h5505292_3
  libbrotlidec-1.1.0-h5505292_3
  libbrotlienc-1.1.0-h5505292_3
  libcblas-3.9.0-20_osxarm64_openblas
  libclang-cpp17-17.0.6-default_hf90f093_8
  libclang-cpp18.1-18.1.8-default_hf90f093_10
  libclang13-20.1.7-default_hee4fbb3_0
  libcurl-8.14.1-h73640d1_0
  libdeflate-1.24-h5773f1b_0
  libedit-3.1.20250104-pl5321hafb1f1b_0
  libev-4.33-h93a5062_2
  libgettextpo-0.24.1-h493aca8_0
  libgfortran-5.0.0-14_2_0_h6c33f7e_103
  libgfortran5-14.2.0-h6c33f7e_103
  libhwloc-2.11.2-default_hbce5d74_1001
  libhwy-1.2.0-h9a9ea7e_0
  libintl-devel-0.24.1-h493aca8_0
  libjpeg-turbo-3.1.0-h5505292_0
  libjxl-0.11.1-h72d67bc_2
  liblapack-3.9.0-20_osxarm64_openblas
  liblapacke-3.9.0-20_osxarm64_openblas
  libllvm17-17.0.6-hc4b4ae8_3
  libllvm18-18.1.8-hc4b4ae8_3
  libnghttp2-1.64.0-h6d7220d_0
  libntlm-1.8-h5505292_0
  libogg-1.3.5-h48c0fde_1
  libopenblas-0.3.25-openmp_h6c19121_0
  libopencv-4.11.0-qt6_py39h9d66867_609
  libopenvino-2025.0.0-h3f17238_3
  libopenvino-arm-cpu-plugin-2025.0.0-h3f17238_3
  libopenvino-auto-batch-plugin-2025.0.0-h7f72211_3
  libopenvino-auto-plugin-2025.0.0-h7f72211_3
  libopenvino-hetero-plugin-2025.0.0-h718ad69_3
  libopenvino-ir-frontend-2025.0.0-h718ad69_3
  libopenvino-onnx-frontend-2025.0.0-h1ae5b81_3
  libopenvino-paddle-frontend-2025.0.0-h1ae5b81_3
  libopenvino-pytorch-frontend-2025.0.0-h286801f_3
  libopenvino-tensorflow-frontend-2025.0.0-heb6e3e1_3
  libopenvino-tensorflow-lite-frontend-2025.0.0-h286801f_3
  libopus-1.5.2-h48c0fde_0
  libpq-17.5-h6896619_0
  libprotobuf-5.29.3-hccd9074_1
  librsvg-2.58.4-h266df6f_3
  libsodium-1.0.20-h99b78c6_0
  libssh2-1.11.1-h1590b86_0
  libtiff-4.7.0-h2f21f7c_5
  libvorbis-1.3.7-h9f76cd9_0
  libvpx-1.14.1-h7bae524_0
  libwebp-base-1.5.0-h2471fea_0
  libxcb-1.17.0-hdb1d25a_0
  libxslt-1.1.39-h223e5b9_0
  libzopfli-1.0.3-h9f76cd9_0
  llvm-openmp-20.1.7-hdb05f8b_0
  lz4-c-1.10.0-h286801f_1
  markdown-it-py-3.0.0-pyhd8ed1ab_1
  matplotlib-base-3.8.4-py39h15359f4_2
  mdurl-0.1.2-pyhd8ed1ab_1
  munkres-1.1.4-pyhd8ed1ab_1
  ndx-pose-0.1.1-pyhd8ed1ab_0
  networkx-3.2.1-pyhd8ed1ab_0
  nspr-4.36-h5833ebf_0
  nss-3.113-ha3c76ea_0
  numpy-1.22.4-py39h7df2422_0
  opencv-4.11.0-qt6_py39hb1f062c_609
  openexr-3.3.4-h37c74dd_0
  openh264-2.6.0-hb5b2745_0
  openjpeg-2.5.3-h8a3d83b_0
  openldap-2.6.10-hbe55e7a_0
  packaging-25.0-pyh29332c3_1
  pandas-2.2.3-py39hc5ad87a_1
  pango-1.56.3-h5fd7515_1
  patsy-1.0.1-pyhd8ed1ab_1
  pillow-11.2.1-py39hfea3036_0
  pkgutil-resolve-name-1.3.10-pyhd8ed1ab_2
  psutil-7.0.0-py39hf3bc14e_0
  pthread-stubs-0.4-hd74edd7_1002
  pugixml-1.15-hd3d436d_0
  py-opencv-4.11.0-qt6_py39h0eb5886_609
  pygments-2.19.2-pyhd8ed1ab_0
  pykalman-0.9.7-pyhd8ed1ab_1
  pynwb-2.8.3-pyhd8ed1ab_1
  pyparsing-3.2.3-pyhd8ed1ab_1
  pyside2-5.15.15-py39heabe5ed_0
  python-dateutil-2.9.0.post0-pyhe01879c_2
  python-rapidjson-1.20-py39h941272d_1
  python-tzdata-2025.2-pyhd8ed1ab_0
  python_abi-3.9-7_cp39
  pytz-2024.1-pyhd8ed1ab_0
  pywavelets-1.6.0-py39h161d348_0
  pyyaml-6.0.2-py39hefdd603_2
  pyzmq-27.0.0-py39h80d5f2a_0
  qt-main-5.15.15-h67564f6_4
  qt6-main-6.9.1-h9cca212_1
  qtpy-2.4.3-pyhd8ed1ab_1
  qudida-0.0.4-pyhd8ed1ab_0
  rav1e-0.7.1-h0716509_3
  referencing-0.36.2-pyh29332c3_0
  rich-14.0.0-pyh29332c3_0
  rpds-py-0.25.1-py39h51e8d5a_0
  ruamel.yaml-0.18.14-py39hf3bc14e_0
  ruamel.yaml.clib-0.2.8-py39h57695bc_1
  scikit-image-0.24.0-py39h998126f_1
  scikit-learn-1.0-py39h12ba089_1
  scikit-video-1.1.11-pyhecae5ae_1
  scipy-1.9.0-py39h14896cb_0
  sdl2-2.32.54-ha1acc90_0
  seaborn-0.13.2-hd8ed1ab_3
  seaborn-base-0.13.2-pyhd8ed1ab_3
  six-1.17.0-pyhd8ed1ab_0
  sleap-1.4.1-py39_0
  snappy-1.2.1-h98b9ce2_1
  statsmodels-0.14.4-py39h914ef23_0
  svt-av1-3.0.2-h8ab69cd_0
  tbb-2022.1.0-h9541205_0
  threadpoolctl-3.6.0-pyhecae5ae_0
  tifffile-2024.6.18-pyhd8ed1ab_0
  typing-extensions-4.14.0-h32cad80_0
  typing_extensions-4.14.0-pyhe01879c_0
  unicodedata2-16.0.0-py39hf3bc14e_0
  x264-1!164.3095-h57fd34a_2
  x265-3.5-hbc6ce65_3
  xorg-libxau-1.0.12-h5505292_0
  xorg-libxdmcp-1.1.5-hd74edd7_0
  yaml-0.2.5-h3422bc3_2
  zeromq-4.3.5-hc1bb282_7
  zfp-1.0.1-h1c5d8ea_2
  zipp-3.23.0-pyhd8ed1ab_0
  zlib-ng-2.2.4-h13dfb9a_0


Proceed ([y]/n)? n


CondaSystemExit: Exiting.

(sleap) hamilton.oh@MLSJ7RC6YM9NP ~ % conda list | grep qt
libopencv                               4.11.0           qt6_py39h9d66867_609    conda-forge
opencv                                  4.11.0           qt6_py39hb1f062c_609    conda-forge
py-opencv                               4.11.0           qt6_py39h0eb5886_609    conda-forge
qt-main                                 5.15.15          h67564f6_4              conda-forge
qt6-main                                6.9.1            h9cca212_1              conda-forge
qtpy                                    2.4.3            pyhd8ed1ab_1            conda-forge
(sleap) hamilton.oh@MLSJ7RC6YM9NP ~ % conda remove --force qt6-main

## Package Plan ##

  environment location: /opt/miniconda3/envs/sleap

  removed specs:
    - qt6-main


The following packages will be REMOVED:

  qt6-main-6.9.1-h9cca212_1


Proceed ([y]/n)? y


Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(sleap) hamilton.oh@MLSJ7RC6YM9NP ~ % sleap-label
Traceback (most recent call last):
  File "/opt/miniconda3/envs/sleap/bin/sleap-label", line 33, in <module>
    sys.exit(load_entry_point('sleap==1.4.1', 'console_scripts', 'sleap-label')())
  File "/opt/miniconda3/envs/sleap/bin/sleap-label", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/opt/miniconda3/envs/sleap/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/opt/miniconda3/envs/sleap/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/sleap/__init__.py", line 10, in <module>
    from sleap.io.dataset import Labels, load_file
  File "/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/sleap/io/dataset.py", line 72, in <module>
    from sleap.instance import (
  File "/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/sleap/instance.py", line 32, in <module>
    from sleap.io.video import Video
  File "/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/sleap/io/video.py", line 7, in <module>
    import cv2
  File "/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/cv2/__init__.py", line 181, in <module>
    bootstrap()
  File "/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/cv2/__init__.py", line 153, in bootstrap
    native_module = importlib.import_module("cv2")
  File "/opt/miniconda3/envs/sleap/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen(/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/cv2/python-3.9/cv2.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libQt6Widgets.6.dylib
  Referenced from: <0D3DDBBA-6F81-3B66-A7F0-7EDB55DB3FDC> /opt/miniconda3/envs/sleap/lib/libopencv_highgui.4.11.0.dylib
  Reason: tried: '/opt/miniconda3/envs/sleap/lib/libQt6Widgets.6.dylib' (no such file), '/opt/miniconda3/envs/sleap/lib/libQt6Widgets.6.dylib' (no such file), '/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/cv2/python-3.9/../../../../libQt6Widgets.6.dylib' (no such file), '/opt/miniconda3/envs/sleap/lib/python3.9/site-packages/cv2/python-3.9/../../../../libQt6Widgets.6.dylib' (no such file), '/opt/miniconda3/envs/sleap/bin/../lib/libQt6Widgets.6.dylib' (no such file), '/opt/miniconda3/envs/sleap/bin/../lib/libQt6Widgets.6.dylib' (no such file), '/usr/local/lib/libQt6Widgets.6.dylib' (no such file), '/usr/lib/libQt6Widgets.6.dylib' (no such file, not in dyld cache)

Removing qt-main instead of qt6-main results in a similar error.

(sleap2) hamilton.oh@MLSJ7RC6YM9NP ~ % sleap-label
Traceback (most recent call last):
  File "/opt/miniconda3/envs/sleap2/bin/sleap-label", line 33, in <module>
    sys.exit(load_entry_point('sleap==1.4.1', 'console_scripts', 'sleap-label')())
  File "/opt/miniconda3/envs/sleap2/bin/sleap-label", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/opt/miniconda3/envs/sleap2/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/opt/miniconda3/envs/sleap2/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/opt/miniconda3/envs/sleap2/lib/python3.9/site-packages/sleap/__init__.py", line 10, in <module>
    from sleap.io.dataset import Labels, load_file
  File "/opt/miniconda3/envs/sleap2/lib/python3.9/site-packages/sleap/io/dataset.py", line 83, in <module>
    from sleap.gui.dialogs.missingfiles import MissingFilesDialog
  File "/opt/miniconda3/envs/sleap2/lib/python3.9/site-packages/sleap/gui/dialogs/missingfiles.py", line 10, in <module>
    from qtpy import QtWidgets, QtCore, QtGui
  File "/opt/miniconda3/envs/sleap2/lib/python3.9/site-packages/qtpy/__init__.py", line 293, in <module>
    raise QtBindingsNotFoundError from None
qtpy.QtBindingsNotFoundError: No Qt bindings could be found

hamiltonoh avatar Jul 02 '25 13:07 hamiltonoh

I get the exact same error, after installing sleap 1.4.1 on an M2 Macbook pro, using the recommended conda method.

This is what conda list | grep -i qt returns:

libopencv                 4.11.0          qt6_py39h9d66867_609    conda-forge
opencv                    4.11.0          qt6_py39hb1f062c_609    conda-forge
py-opencv                 4.11.0          qt6_py39h0eb5886_609    conda-forge
qt-main                   5.15.15              h67564f6_4    conda-forge
qt6-main                  6.9.1                h9cca212_1    conda-forge
qtpy                      2.4.3              pyhd8ed1ab_1    conda-forge

niksirbi avatar Jul 02 '25 16:07 niksirbi

Hi all! I’m having the same problem on my M1 Mac. The last time I used SLEAP was in April and I did not have any issues then, but I got the error message just now when I tried to run sleap-label. I also tried to run “conda uninstall qt6-main,” but had the same issues as those above.

christinaveed avatar Jul 02 '25 20:07 christinaveed

(UPDATE) I tried to replicate the same error in Macbook Air M3 and then tried the conda uninstall fix and it worked for me. This is what I did:

-> conda create -y -n sleap -c conda-forge -c anaconda -c sleap sleap=1.4.1 

-> conda activate sleap

-> sleap-label # throws qt error

-> conda uninstall qt6-main

-> sleap-label # (now works)

However, when i run the conda uninstall, it only tries to remove some of qt6-main dependent packages and not all of them (as shown in your logs). For some reason, only the defaults channel is being used when you try to uninstall.

divyasesh@Mac ~ % conda uninstall qt6-main                                                   
Channels:
 - defaults
 - conda-forge
 - sleap
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/anaconda3/envs/sleap-v2

  removed specs:
    - qt6-main


The following packages will be REMOVED:

  double-conversion-3.3.1-h286801f_0
  libclang-cpp18.1-18.1.8-default_hf90f093_10
  libllvm18-18.1.8-hc4b4ae8_3
  qt6-main-6.9.1-h9cca212_1

The following packages will be DOWNGRADED:

  libopencv                     4.11.0-qt6_py39h9d66867_609 --> 4.11.0-headless_py39h766dbac_9 
  opencv                        4.11.0-qt6_py39hb1f062c_609 --> 4.11.0-headless_py39hf351156_9 
  py-opencv                     4.11.0-qt6_py39h0eb5886_609 --> 4.11.0-headless_py39ha596c8e_9 


Proceed ([y]/n)? y


Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

gitttt-1234 avatar Jul 02 '25 21:07 gitttt-1234

Hello! Is there a final solution to this? When i uninstall qt6 - all of sleap disappears! :( Nothing seems to work anymore

(base) WR34R6T7X1:~ polisev$ conda activate sleap
(sleap) WR34R6T7X1:~ polisev$ conda list | grep -i qt
libopencv                 4.12.0          qt6_py39h93dbde7_600    conda-forge
opencv                    4.12.0          qt6_py39hb1f062c_600    conda-forge
py-opencv                 4.12.0          qt6_py39h0eb5886_600    conda-forge
qt-main                   5.15.15              h67564f6_4    conda-forge
qt6-main                  6.9.1                h9cca212_1    conda-forge
qtpy                      2.4.3              pyhd8ed1ab_1    conda-forge
(sleap) WR34R6T7X1:~ polisev$ conda uninstall qt6-main
/opt/miniconda3/lib/python3.12/site-packages/conda/base/context.py:201: FutureWarning: Adding 'defaults' to channel list implicitly is deprecated and will be removed in 25.3. 

To remove this warning, please choose a default channel explicitly with conda's regular configuration system, e.g. by adding 'defaults' to the list of channels:

  conda config --add channels defaults

For more information see https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html

  deprecated.topic(
/opt/miniconda3/lib/python3.12/site-packages/conda/base/context.py:201: FutureWarning: Adding 'defaults' to channel list implicitly is deprecated and will be removed in 25.3. 

To remove this warning, please choose a default channel explicitly with conda's regular configuration system, e.g. by adding 'defaults' to the list of channels:

  conda config --add channels defaults

For more information see https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html

  deprecated.topic(
Channels:
 - defaults
 - conda-forge
 - sleap
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/miniconda3/envs/sleap

  removed specs:
    - qt6-main


The following packages will be REMOVED:

  albumentations-1.3.1-pyhd8ed1ab_0
  attrs-25.3.0-pyh71513ae_0
  blosc-1.21.6-h7dd00d9_1
  brotli-1.1.0-h5505292_3
  brotli-bin-1.1.0-h5505292_3
  brunsli-0.1-h9f76cd9_0
  c-ares-1.34.5-h5505292_0
  c-blosc2-2.17.1-h9cbb436_0
  cached-property-1.5.2-hd8ed1ab_1
  cached_property-1.5.2-pyha770c72_1
  cattrs-1.1.1-pyhd8ed1ab_0
  charls-2.4.2-h13dd4ca_0
  contourpy-1.2.1-py39h48c5dd5_0
  cycler-0.12.1-pyhd8ed1ab_1
  cyrus-sasl-2.1.28-ha1cbb27_0
  double-conversion-3.3.1-h286801f_0
  ffmpeg-7.1.1-gpl_h20db955_106
  fonttools-4.58.5-py39hefdd603_0
  gdk-pixbuf-2.42.12-h7ddc832_0
  giflib-5.2.2-h93a5062_0
  glib-2.84.2-h85e5b2e_0
  glib-tools-2.84.2-h1dc7a0c_0
  gmp-6.3.0-h7bae524_2
  gst-plugins-base-1.24.11-h3c5c1d0_0
  gstreamer-1.24.11-hfe24232_0
  h5py-3.14.0-nompi_py39h1bcc307_100
  hdf5-1.14.6-nompi_ha698983_101
  hdmf-3.14.6-pyhd8ed1ab_0
  imagecodecs-2024.12.30-py39hcae9eef_1
  imageio-2.37.0-pyhfb79c49_0
  imageio-ffmpeg-0.6.0-pyhd8ed1ab_0
  imath-3.1.12-h025cafa_0
  importlib-metadata-8.7.0-pyhe01879c_1
  importlib-resources-6.5.2-pyhd8ed1ab_0
  importlib_resources-6.5.2-pyhd8ed1ab_0
  jasper-4.2.5-h743e416_0
  joblib-1.5.1-pyhd8ed1ab_0
  jsmin-3.0.1-pyhd8ed1ab_1
  jsonpickle-1.2-py_0
  jsonschema-4.24.0-pyhd8ed1ab_0
  jsonschema-specifications-2025.4.1-pyh29332c3_0
  jxrlib-1.1-h93a5062_3
  keras-2.9.0-pyhd8ed1ab_0
  kiwisolver-1.4.7-py39h157d57c_0
  krb5-1.21.3-h237132a_0
  lame-3.100-h1a8c8d9_1003
  lazy-loader-0.4-pyhd8ed1ab_2
  lazy_loader-0.4-pyhd8ed1ab_2
  lcms2-2.17-h7eeda09_0
  lerc-4.0.0-hd64df32_1
  libabseil-20250127.1-cxx17_h07bc746_0
  libaec-1.1.4-h51d1e36_0
  libasprintf-0.25.1-h493aca8_0
  libblas-3.9.0-20_osxarm64_openblas
  libbrotlicommon-1.1.0-h5505292_3
  libbrotlidec-1.1.0-h5505292_3
  libbrotlienc-1.1.0-h5505292_3
  libcblas-3.9.0-20_osxarm64_openblas
  libclang-cpp17-17.0.6-default_hf90f093_8
  libclang-cpp18.1-18.1.8-default_hf90f093_10
  libclang13-20.1.7-default_hee4fbb3_0
  libcurl-8.14.1-h73640d1_0
  libdeflate-1.24-h5773f1b_0
  libedit-3.1.20250104-pl5321hafb1f1b_0
  libev-4.33-h93a5062_2
  libgettextpo-0.25.1-h493aca8_0
  libgfortran-5.0.0-14_2_0_h6c33f7e_103
  libgfortran5-14.2.0-h6c33f7e_103
  libhwloc-2.11.2-default_hbce5d74_1001
  libhwy-1.2.0-h9a9ea7e_0
  libintl-devel-0.25.1-h493aca8_0
  libjpeg-turbo-3.1.0-h5505292_0
  libjxl-0.11.1-h72d67bc_2
  liblapack-3.9.0-20_osxarm64_openblas
  liblapacke-3.9.0-20_osxarm64_openblas
  libllvm17-17.0.6-hc4b4ae8_3
  libllvm18-18.1.8-hc4b4ae8_3
  libnghttp2-1.64.0-h6d7220d_0
  libntlm-1.8-h5505292_0
  libogg-1.3.5-h48c0fde_1
  libopenblas-0.3.25-openmp_h6c19121_0
  libopencv-4.12.0-qt6_py39h93dbde7_600
  libopenvino-2025.0.0-h3f17238_3
  libopenvino-arm-cpu-plugin-2025.0.0-h3f17238_3
  libopenvino-auto-batch-plugin-2025.0.0-h7f72211_3
  libopenvino-auto-plugin-2025.0.0-h7f72211_3
  libopenvino-hetero-plugin-2025.0.0-h718ad69_3
  libopenvino-ir-frontend-2025.0.0-h718ad69_3
  libopenvino-onnx-frontend-2025.0.0-h1ae5b81_3
  libopenvino-paddle-frontend-2025.0.0-h1ae5b81_3
  libopenvino-pytorch-frontend-2025.0.0-h286801f_3
  libopenvino-tensorflow-frontend-2025.0.0-heb6e3e1_3
  libopenvino-tensorflow-lite-frontend-2025.0.0-h286801f_3
  libopus-1.5.2-h48c0fde_0
  libpq-17.5-h6896619_0
  libprotobuf-5.29.3-hccd9074_1
  librsvg-2.58.4-h266df6f_3
  libsodium-1.0.20-h99b78c6_0
  libssh2-1.11.1-h1590b86_0
  libtiff-4.7.0-h2f21f7c_5
  libvorbis-1.3.7-h9f76cd9_0
  libvpx-1.14.1-h7bae524_0
  libwebp-base-1.5.0-h2471fea_0
  libxcb-1.17.0-hdb1d25a_0
  libxslt-1.1.39-h223e5b9_0
  libzopfli-1.0.3-h9f76cd9_0
  llvm-openmp-20.1.7-hdb05f8b_0
  lz4-c-1.10.0-h286801f_1
  markdown-it-py-3.0.0-pyhd8ed1ab_1
  matplotlib-base-3.8.4-py39h15359f4_2
  mdurl-0.1.2-pyhd8ed1ab_1
  munkres-1.1.4-pyhd8ed1ab_1
  ndx-pose-0.1.1-pyhd8ed1ab_0
  networkx-3.2.1-pyhd8ed1ab_0
  nspr-4.36-h5833ebf_0
  nss-3.113-ha3c76ea_0
  numpy-1.22.4-py39h7df2422_0
  opencv-4.12.0-qt6_py39hb1f062c_600
  openexr-3.3.4-h37c74dd_0
  openh264-2.6.0-hb5b2745_0
  openjpeg-2.5.3-h8a3d83b_0
  openldap-2.6.10-hbe55e7a_0
  packaging-25.0-pyh29332c3_1
  pandas-2.2.3-py39hc5ad87a_1
  pango-1.56.4-h875632e_0
  patsy-1.0.1-pyhd8ed1ab_1
  pillow-11.3.0-py39hfea3036_0
  pkgutil-resolve-name-1.3.10-pyhd8ed1ab_2
  psutil-7.0.0-py39hf3bc14e_0
  pthread-stubs-0.4-hd74edd7_1002
  pugixml-1.15-hd3d436d_0
  py-opencv-4.12.0-qt6_py39h0eb5886_600
  pygments-2.19.2-pyhd8ed1ab_0
  pykalman-0.9.7-pyhd8ed1ab_1
  pynwb-2.8.3-pyhd8ed1ab_1
  pyparsing-3.2.3-pyhd8ed1ab_1
  pyside2-5.15.15-py39heabe5ed_0
  python-dateutil-2.9.0.post0-pyhe01879c_2
  python-rapidjson-1.20-py39h941272d_1
  python-tzdata-2025.2-pyhd8ed1ab_0
  python_abi-3.9-7_cp39
  pytz-2024.1-pyhd8ed1ab_0
  pywavelets-1.6.0-py39h161d348_0
  pyyaml-6.0.2-py39hefdd603_2
  pyzmq-27.0.0-py39h80d5f2a_0
  qt-main-5.15.15-h67564f6_4
  qt6-main-6.9.1-h9cca212_1
  qtpy-2.4.3-pyhd8ed1ab_1
  qudida-0.0.4-pyhd8ed1ab_0
  referencing-0.36.2-pyh29332c3_0
  rich-14.0.0-pyh29332c3_0
  rpds-py-0.26.0-py39h51e8d5a_0
  ruamel.yaml-0.18.14-py39hf3bc14e_0
  ruamel.yaml.clib-0.2.8-py39h57695bc_1
  scikit-image-0.24.0-py39h998126f_1
  scikit-learn-1.0-py39h12ba089_1
  scikit-video-1.1.11-pyhecae5ae_1
  scipy-1.9.0-py39h14896cb_0
  seaborn-0.13.2-hd8ed1ab_3
  seaborn-base-0.13.2-pyhd8ed1ab_3
  six-1.17.0-pyhd8ed1ab_0
  sleap-1.4.1-py39_0
  snappy-1.2.1-h98b9ce2_1
  statsmodels-0.14.4-py39hbd04bc9_2
  tbb-2022.1.0-h9541205_0
  threadpoolctl-3.6.0-pyhecae5ae_0
  tifffile-2024.6.18-pyhd8ed1ab_0
  typing-extensions-4.14.1-h4440ef1_0
  typing_extensions-4.14.1-pyhe01879c_0
  unicodedata2-16.0.0-py39hf3bc14e_0
  x264-1!164.3095-h57fd34a_2
  x265-3.5-hbc6ce65_3
  xorg-libxau-1.0.12-h5505292_0
  xorg-libxdmcp-1.1.5-hd74edd7_0
  yaml-0.2.5-h3422bc3_2
  zeromq-4.3.5-hc1bb282_7
  zfp-1.0.1-h1c5d8ea_2
  zipp-3.23.0-pyhd8ed1ab_0
  zlib-ng-2.2.4-h13dfb9a_0


Proceed ([y]/n)? y


Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: / 
done
(sleap) WR34R6T7X1:~ polisev$ sleap-label
-bash: sleap-label: command not found

polycherry avatar Jul 07 '25 19:07 polycherry

I have not found a solution, any additional help would be greatly appreciated!

hamiltonoh avatar Jul 08 '25 01:07 hamiltonoh

Was finally able to resolve this, I have an M3 MAX mac:

conda create -n sleap_clean python=3.9 conda activate sleap_clean pip install sleap pip install PySide6

conda install -c conda-forge cattrs=22.2.0 conda install -c conda-forge matplotlib conda install -c conda-forge scikit-learn conda install -c conda-forge opencv conda install -c conda-forge psutil conda install -c conda-forge python-rapidjson conda install -c conda-forge qtpy

Because now numpy is out of compatibility you have to do conda install -c conda-forge "numpy<2" --force-reinstall conda install -c conda-forge sleap opencv conda install -c conda-forge jsmin conda install -c conda-forge albumentations conda install -c conda-forge jsonpickle conda install -c conda-forge pyzmq conda install -c conda-forge rich conda install -c conda-forge pykalman conda install -c conda-forge seaborn conda install -c conda-forge ndx-pose

Check what you have installed conda list | grep qt

You should only see qt6-main, pyside6, and related Qt6 packages. Clear Qt plugin cache (sometimes helps)

rm -rf ~/Library/Caches/QtProject

That worked for me

Kanzkibe avatar Jul 14 '25 20:07 Kanzkibe

Hi everyone! I was also able to get SLEAP working on my M1 mac again. I uninstalled SLEAP using “conda env remove -n sleap”. Then, I reinstalled an older, stable version using “conda create -y -n sleap -c conda-forge -c anaconda -c sleap sleap=1.3.3".

christinaveed avatar Jul 14 '25 21:07 christinaveed

Thank you both! Christina's solution^ worked for me!

hamiltonoh avatar Jul 15 '25 04:07 hamiltonoh

Christina's solution also worked for me. Only downside is that we don't have the updates 1.4.1 has.

jliann avatar Jul 15 '25 23:07 jliann

I did manage to find a workaround for installing 1.4.1 on my Macbook, by adding "qt<6" to the installation command, e.g.:

conda create -y -n sleap-env -c conda-forge -c anaconda -c sleap "qt<6" sleap=1.4.1
conda activate sleap-env

The solution was inspired by this issue.

niksirbi avatar Jul 22 '25 12:07 niksirbi

^this worked for me as well. But I ran into an error at the Inference step. Seems to be an incompatability with 1.4.1 and new Mac chips.

hamiltonoh avatar Jul 24 '25 02:07 hamiltonoh