talmolab / sleap

A deep learning framework for multi-animal pose tracking.
https://sleap.ai
Other
435 stars 97 forks source link

Updating anaconda navigator and miniforge broke things #1533

Closed jverpeut closed 10 months ago

jverpeut commented 1 year ago

I updated my anaconda navigator and miniforge stopped opening sleap. I deleted miniforge, redownloaded, then reinstalled sleap 1.3.3 and it still will not open. I have been trying to diagnose if it is maybe a Qt error, but haven't found anything that works yet.

(base) C:\Users\jverpeut>mamba activate sleap

(sleap) C:\Users\jverpeut>sleap-label
Saving config: C:\Users\jverpeut/.sleap/1.3.3/preferences.yaml
Traceback (most recent call last):
  File "C:\miniforge3\envs\sleap\Scripts\sleap-label-script.py", line 33, in <module>
    sys.exit(load_entry_point('sleap==1.3.3', 'console_scripts', 'sleap-label')())
  File "C:\miniforge3\envs\sleap\Scripts\sleap-label-script.py", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "C:\Users\jverpeut\AppData\Roaming\Python\Python37\site-packages\importlib_metadata\__init__.py", line 209, in load
    module = import_module(match.group('module'))
  File "C:\miniforge3\envs\sleap\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\miniforge3\envs\sleap\lib\site-packages\sleap\gui\app.py", line 64, in <module>
    from sleap.gui.dialogs.metrics import MetricsTableDialog
  File "C:\miniforge3\envs\sleap\lib\site-packages\sleap\gui\dialogs\metrics.py", line 11, in <module>
    from sleap.gui.dataviews import GenericTableModel, GenericTableView
  File "C:\miniforge3\envs\sleap\lib\site-packages\sleap\gui\dataviews.py", line 35, in <module>
    class GenericTableModel(QtCore.QAbstractTableModel):
  File "C:\miniforge3\envs\sleap\lib\site-packages\sleap\gui\dataviews.py", line 210, in GenericTableModel
    order: QtCore.Qt.SortOrder = QtCore.Qt.SortOrder.AscendingOrder,
AttributeError: type object 'SortOrder' has no attribute 'AscendingOrder'

Your personal set up

Wed Oct  4 17:47:23 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 536.67                 Driver Version: 536.67       CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                     TCC/WDDM  | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Quadro P2200                 WDDM  | 00000000:B3:00.0  On |                  N/A |
| 46%   33C    P8               7W /  75W |   1588MiB /  5120MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1784    C+G   ...1.0_x64__8wekyb3d8bbwe\Video.UI.exe    N/A      |
|    0   N/A  N/A      3380    C+G   ....Search_cw5n1h2txyewy\SearchApp.exe    N/A      |
|    0   N/A  N/A      6008    C+G   C:\Windows\explorer.exe                   N/A      |
|    0   N/A  N/A     11316    C+G   ...__8wekyb3d8bbwe\Microsoft.Notes.exe    N/A      |
|    0   N/A  N/A     11752    C+G   ....Search_cw5n1h2txyewy\SearchApp.exe    N/A      |
|    0   N/A  N/A     13148    C+G   ....0_x64__8wekyb3d8bbwe\HxOutlook.exe    N/A      |
|    0   N/A  N/A     13432    C+G   ...\Local\slack\app-4.34.119\slack.exe    N/A      |
|    0   N/A  N/A     14272    C+G   ...cal\Microsoft\OneDrive\OneDrive.exe    N/A      |
|    0   N/A  N/A     15336    C+G   ...cal\Microsoft\OneDrive\OneDrive.exe    N/A      |
|    0   N/A  N/A     16396    C+G   ...ekyb3d8bbwe\PhoneExperienceHost.exe    N/A      |
|    0   N/A  N/A     16440    C+G   ...B\system_tray\lghub_system_tray.exe    N/A      |
|    0   N/A  N/A     17276    C+G   ...on\HEX\Creative Cloud UI Helper.exe    N/A      |
|    0   N/A  N/A     18156    C+G   ...5n1h2txyewy\ShellExperienceHost.exe    N/A      |
|    0   N/A  N/A     18260    C+G   ...64__8wekyb3d8bbwe\CalculatorApp.exe    N/A      |
|    0   N/A  N/A     18396    C+G   ...t.LockApp_cw5n1h2txyewy\LockApp.exe    N/A      |
|    0   N/A  N/A     18544    C+G   ...m Files\Mozilla Firefox\firefox.exe    N/A      |
|    0   N/A  N/A     19344    C+G   ...aam7r\AcrobatNotificationClient.exe    N/A      |
|    0   N/A  N/A     20716    C+G   ...m Files\Mozilla Firefox\firefox.exe    N/A      |
|    0   N/A  N/A     23796    C+G   ...ejd91yc\AdobeNotificationClient.exe    N/A      |
|    0   N/A  N/A     30280    C+G   ...l\Microsoft\Teams\current\Teams.exe    N/A      |
|    0   N/A  N/A     31804    C+G   C:\Program Files\Zoom\bin\Zoom.exe        N/A      |
|    0   N/A  N/A     32396    C+G   ...crosoft\Edge\Application\msedge.exe    N/A      |
|    0   N/A  N/A     32412    C+G   ...es (x86)\Dropbox\Client\Dropbox.exe    N/A      |
|    0   N/A  N/A     32928    C+G   ...l\Microsoft\Teams\current\Teams.exe    N/A      |
+---------------------------------------------------------------------------------------+
Environment packages ``` # packages in environment at C:\miniforge3: # # Name Version Build Channel boltons 23.0.0 pyhd8ed1ab_0 conda-forge brotli-python 1.1.0 py310h00ffb61_0 conda-forge bzip2 1.0.8 h8ffe710_4 conda-forge ca-certificates 2023.7.22 h56e8100_0 conda-forge certifi 2023.7.22 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py310h628cb3f_3 conda-forge charset-normalizer 3.2.0 pyhd8ed1ab_0 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge conda 23.3.1 py310h5588dad_0 conda-forge conda-libmamba-solver 23.3.0 pyhd8ed1ab_0 conda-forge conda-package-handling 2.2.0 pyh38be061_0 conda-forge conda-package-streaming 0.9.0 pyhd8ed1ab_0 conda-forge cryptography 41.0.3 py310h6e82f81_0 conda-forge fmt 9.1.0 h181d51b_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge jsonpatch 1.32 pyhd8ed1ab_0 conda-forge jsonpointer 2.0 py_0 conda-forge krb5 1.21.2 heb0366b_0 conda-forge libarchive 3.6.2 h6f8411a_1 conda-forge libcurl 8.2.1 hd5e4a3a_0 conda-forge libffi 3.4.2 h8ffe710_5 conda-forge libiconv 1.17 h8ffe710_0 conda-forge libmamba 1.4.2 h8a7d157_0 conda-forge libmambapy 1.4.2 py310h3fe4c2e_0 conda-forge libsolv 0.7.24 h12be248_3 conda-forge libsqlite 3.43.0 hcfcfb64_0 conda-forge libssh2 1.11.0 h7dfc565_0 conda-forge libxml2 2.11.5 hc3477c8_1 conda-forge libzlib 1.2.13 hcfcfb64_5 conda-forge lz4-c 1.9.4 hcfcfb64_0 conda-forge lzo 2.10 he774522_1000 conda-forge mamba 1.4.2 py310hd9d798f_0 conda-forge menuinst 1.4.19 py310h5588dad_1 conda-forge miniforge_console_shortcut 1.0 h57928b3_0 conda-forge openssl 3.1.2 hcfcfb64_0 conda-forge packaging 23.1 pyhd8ed1ab_0 conda-forge pip 23.2.1 pyhd8ed1ab_0 conda-forge pluggy 1.3.0 pyhd8ed1ab_0 conda-forge pybind11-abi 4 hd8ed1ab_3 conda-forge pycosat 0.6.4 py310h8d17308_1 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pyopenssl 23.2.0 pyhd8ed1ab_1 conda-forge pysocks 1.7.1 pyh0701188_6 conda-forge python 3.10.12 h4de0772_0_cpython conda-forge python_abi 3.10 3_cp310 conda-forge reproc 14.2.4 hcfcfb64_0 conda-forge reproc-cpp 14.2.4 h63175ca_0 conda-forge requests 2.31.0 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.17.32 py310h8d17308_0 conda-forge ruamel.yaml.clib 0.2.7 py310h8d17308_1 conda-forge setuptools 68.1.2 pyhd8ed1ab_0 conda-forge tk 8.6.12 h8ffe710_0 conda-forge toolz 0.12.0 pyhd8ed1ab_0 conda-forge tqdm 4.66.1 pyhd8ed1ab_0 conda-forge tzdata 2023c h71feb2d_0 conda-forge ucrt 10.0.22621.0 h57928b3_0 conda-forge urllib3 2.0.4 pyhd8ed1ab_0 conda-forge vc 14.3 h64f974e_17 conda-forge vc14_runtime 14.36.32532 hfdfe4a8_17 conda-forge vs2015_runtime 14.36.32532 h05e6639_17 conda-forge wheel 0.41.2 pyhd8ed1ab_0 conda-forge win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge xz 5.2.6 h8d14728_0 conda-forge yaml-cpp 0.7.0 h63175ca_2 conda-forge zstandard 0.19.0 py310h8d17308_0 conda-forge zstd 1.5.5 h12be248_0 conda-forge ```
roomrys commented 1 year ago

Hi @jverpeut,

The error message definitely seems to point to a version discrepancy in which Qt was pulled in.... but it is strange that this happened after updating the anaconda navigator. Do you know if you have multiple version of anaconda installed on your computer? This might cause some conda-confusion for where packages should be pulled in from.

I think you listed the environment packages for your base environment ("packages in environment at C:\miniforge3:"), do you mind activating the sleap environment and listing the packages in the sleap environment?

Thanks, Liezl

jverpeut commented 1 year ago

I believe I just have the one instance of anaconda. Below is what I have on my local computer. I will say that sleap 1.3.3 would not work our cluster as well (error message below and I thought it was unrelated at the time), but my local IT just solved it. I will copy what packages they installed below my local install.

On my local computer: ```bash (sleap) C:\Users\jverpeut>conda list # packages in environment at C:\miniforge3\envs\sleap: # # Name Version Build Channel absl-py 1.0.0 pypi_0 pypi astunparse 1.6.3 pypi_0 pypi attrs 21.4.0 pyhd8ed1ab_0 conda-forge backports-zoneinfo 0.2.1 pypi_0 pypi blosc 1.21.5 hdccc3a2_0 conda-forge brotli 1.0.9 hcfcfb64_9 conda-forge brotli-bin 1.0.9 hcfcfb64_9 conda-forge bzip2 1.0.8 h8ffe710_4 conda-forge c-blosc2 2.10.4 h183a6f4_0 conda-forge ca-certificates 2023.7.22 h56e8100_0 conda-forge cached-property 1.5.2 pypi_0 pypi cachetools 4.2.4 pypi_0 pypi cattrs 1.1.1 pyhd8ed1ab_0 conda-forge certifi 2023.7.22 pyhd8ed1ab_0 conda-forge cfitsio 4.0.0 hd67004f_0 conda-forge charls 2.3.4 h39d44d4_0 conda-forge charset-normalizer 2.0.9 pypi_0 pypi cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge cuda-nvcc 11.3.58 hb8d16a4_0 nvidia cudatoolkit 11.3.1 hf2f0253_12 conda-forge cudnn 8.2.1.32 h754d62a_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge cytoolz 0.12.0 py37hcc03f2d_0 conda-forge dask-core 2022.2.0 pyhd8ed1ab_0 conda-forge efficientnet 1.0.0 pypi_0 pypi flatbuffers 2.0 pypi_0 pypi fonttools 4.38.0 py37h51bd9d9_0 conda-forge freeglut 3.2.2 h63175ca_2 conda-forge freetype 2.12.1 hdaf720e_2 conda-forge fsspec 2023.1.0 pyhd8ed1ab_0 conda-forge gast 0.4.0 pypi_0 pypi geos 3.11.0 h39d44d4_0 conda-forge giflib 5.2.1 h64bf75a_3 conda-forge google-auth 2.3.3 pypi_0 pypi google-auth-oauthlib 0.4.6 pypi_0 pypi google-pasta 0.2.0 pypi_0 pypi grpcio 1.43.0 pypi_0 pypi h5py 3.1.0 pypi_0 pypi hdmf 3.6.1 pypi_0 pypi icu 69.1 h0e60522_0 conda-forge idna 3.3 pypi_0 pypi image-classifiers 1.0.0 pypi_0 pypi imagecodecs 2021.11.20 py37hfea8715_2 conda-forge imageio 2.31.1 pyh24c5eb1_0 conda-forge imgaug 0.4.0 pyhd8ed1ab_1 conda-forge imgstore 0.2.9 pypi_0 pypi importlib-metadata 4.10.0 pypi_0 pypi importlib-resources 5.12.0 pypi_0 pypi intel-openmp 2023.2.0 h57928b3_50496 conda-forge jasper 2.0.33 hc2e4405_1 conda-forge joblib 1.3.2 pyhd8ed1ab_0 conda-forge jpeg 9e hcfcfb64_3 conda-forge jsmin 3.0.1 pyhd8ed1ab_0 conda-forge jsonpickle 1.2 py_0 conda-forge jsonschema 4.17.3 pypi_0 pypi jxrlib 1.1 h8ffe710_2 conda-forge keras 2.7.0 pypi_0 pypi keras-applications 1.0.8 pypi_0 pypi keras-preprocessing 1.1.2 pypi_0 pypi kiwisolver 1.4.4 py37h8c56517_0 conda-forge krb5 1.20.1 h6609f42_0 conda-forge lcms2 2.14 h90d422f_0 conda-forge lerc 3.0 h0e60522_0 conda-forge libaec 1.1.1 h63175ca_0 conda-forge libblas 3.9.0 18_win64_mkl conda-forge libbrotlicommon 1.0.9 hcfcfb64_9 conda-forge libbrotlidec 1.0.9 hcfcfb64_9 conda-forge libbrotlienc 1.0.9 hcfcfb64_9 conda-forge libcblas 3.9.0 18_win64_mkl conda-forge libclang 12.0.0 pypi_0 pypi libcurl 8.1.2 h68f0423_0 conda-forge libdeflate 1.10 h8ffe710_0 conda-forge libhwloc 2.9.1 h51c2c0f_0 conda-forge libiconv 1.17 h8ffe710_0 conda-forge liblapack 3.9.0 18_win64_mkl conda-forge liblapacke 3.9.0 18_win64_mkl conda-forge libopencv 4.5.1 py37ha0199f4_0 conda-forge libpng 1.6.39 h19919ed_0 conda-forge libprotobuf 3.21.8 h12be248_0 conda-forge libsodium 1.0.18 h8d14728_1 conda-forge libsqlite 3.43.0 hcfcfb64_0 conda-forge libssh2 1.10.0 h680486a_3 conda-forge libtiff 4.4.0 hc4061b1_0 conda-forge libwebp-base 1.3.2 hcfcfb64_0 conda-forge libxcb 1.13 hcd874cb_1004 conda-forge libxml2 2.10.4 hc3477c8_0 conda-forge libxslt 1.1.37 h0192164_0 conda-forge libzlib 1.2.13 hcfcfb64_5 conda-forge libzopfli 1.0.3 h0e60522_0 conda-forge locket 1.0.0 pyhd8ed1ab_0 conda-forge lz4-c 1.9.3 h8ffe710_1 conda-forge m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge markdown 3.3.6 pypi_0 pypi markdown-it-py 2.2.0 pyhd8ed1ab_0 conda-forge matplotlib-base 3.5.3 py37hbaab90a_2 conda-forge mdurl 0.1.0 pyhd8ed1ab_0 conda-forge mkl 2022.1.0 h6a75c08_874 conda-forge msys2-conda-epoch 20160418 1 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge ndx-pose 0.1.1 pypi_0 pypi networkx 2.6.3 pyhd8ed1ab_1 conda-forge nixio 1.5.3 pypi_0 pypi numpy 1.19.5 pypi_0 pypi oauthlib 3.1.1 pypi_0 pypi opencv 4.5.1 py37h03978a9_0 conda-forge opencv-python-headless 4.2.0.34 pypi_0 pypi openjpeg 2.5.0 hc9384bd_1 conda-forge openssl 1.1.1w hcfcfb64_0 conda-forge opt-einsum 3.3.0 pypi_0 pypi packaging 21.3 pypi_0 pypi pandas 1.3.5 py37h9386db6_0 conda-forge partd 1.4.1 pyhd8ed1ab_0 conda-forge patsy 0.5.3 pyhd8ed1ab_0 conda-forge pillow 9.2.0 py37h42a8222_2 conda-forge pip 23.2.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pypi_0 pypi protobuf 3.19.1 pypi_0 pypi psutil 5.9.3 py37h51bd9d9_0 conda-forge pthread-stubs 0.4 hcd874cb_1001 conda-forge pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge py-opencv 4.5.1 py37heaed05f_0 conda-forge pyasn1 0.4.8 pypi_0 pypi pyasn1-modules 0.2.8 pypi_0 pypi pygments 2.16.1 pyhd8ed1ab_0 conda-forge pykalman 0.9.5 py_1 conda-forge pynwb 2.3.3 pypi_0 pypi pyparsing 3.0.6 pypi_0 pypi pyrsistent 0.19.3 pypi_0 pypi pyside2 5.13.2 py37h760f651_8 conda-forge python 3.7.12 h7840368_100_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-rapidjson 1.9 py37h7f67f24_0 conda-forge python_abi 3.7 4_cp37m conda-forge pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge pywavelets 1.3.0 py37h3a130e4_1 conda-forge pyyaml 6.0 py37hcc03f2d_4 conda-forge pyzmq 24.0.1 py37h7347f05_0 conda-forge qimage2ndarray 1.10.0 pypi_0 pypi qt 5.12.9 h556501e_6 conda-forge qtpy 2.4.0 pyhd8ed1ab_0 conda-forge requests 2.26.0 pypi_0 pypi requests-oauthlib 1.3.0 pypi_0 pypi rich 13.6.0 pyhd8ed1ab_0 conda-forge ruamel-yaml 0.17.32 pypi_0 pypi ruamel-yaml-clib 0.2.7 pypi_0 pypi scikit-image 0.19.3 py37h3182a2c_1 conda-forge scikit-learn 1.0 py37ha78be43_1 conda-forge scikit-video 1.1.11 pyh24bf2e0_0 conda-forge scipy 1.7.3 py37hb6553fb_0 conda-forge seaborn 0.12.2 hd8ed1ab_0 conda-forge seaborn-base 0.12.2 pyhd8ed1ab_0 conda-forge segmentation-models 1.0.1 pypi_0 pypi setuptools 59.8.0 py37h03978a9_1 conda-forge setuptools-scm 6.3.2 pypi_0 pypi shapely 1.8.5 py37h475e9a0_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sleap 1.3.3 pypi_0 pypi snappy 1.1.10 hfb803bf_0 conda-forge sqlite 3.43.0 hcfcfb64_0 conda-forge statsmodels 0.13.2 py37h3a130e4_0 conda-forge tbb 2021.9.0 h91493d7_0 conda-forge tensorboard 2.7.0 pypi_0 pypi tensorboard-data-server 0.6.1 pypi_0 pypi tensorboard-plugin-wit 1.8.0 pypi_0 pypi tensorflow 2.7.0 pypi_0 pypi tensorflow-estimator 2.7.0 pypi_0 pypi tensorflow-hub 0.12.0 pyhca92ed8_0 conda-forge tensorflow-io-gcs-filesystem 0.23.1 pypi_0 pypi termcolor 1.1.0 pypi_0 pypi threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge tifffile 2021.11.2 pyhd8ed1ab_0 conda-forge tk 8.6.13 hcfcfb64_0 conda-forge tomli 2.0.0 pypi_0 pypi toolz 0.12.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.0.1 pypi_0 pypi typing_extensions 4.7.1 pyha770c72_0 conda-forge tzdata 2023.3 pypi_0 pypi tzlocal 5.0.1 pypi_0 pypi ucrt 10.0.22621.0 h57928b3_0 conda-forge unicodedata2 14.0.0 py37hcc03f2d_1 conda-forge urllib3 1.26.7 pypi_0 pypi vc 14.3 h64f974e_17 conda-forge vc14_runtime 14.36.32532 hdcecf7f_17 conda-forge vs2015_runtime 14.36.32532 h05e6639_17 conda-forge werkzeug 2.0.2 pypi_0 pypi wheel 0.41.2 pyhd8ed1ab_0 conda-forge wrapt 1.13.3 pypi_0 pypi xorg-libxau 1.0.11 hcd874cb_0 conda-forge xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge xz 5.2.6 h8d14728_0 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge zeromq 4.3.4 h0e60522_1 conda-forge zfp 0.5.5 h0e60522_8 conda-forge zipp 3.6.0 pypi_0 pypi zlib 1.2.13 hcfcfb64_5 conda-forge zlib-ng 2.0.7 hcfcfb64_0 conda-forge zstd 1.5.5 h12be248_0 conda-forge ```
Cluster error message: ``` [jverpeut@cg005:~]$ source activate /data/jverpeut/env/sleap-1.3.3 (/data/jverpeut/env/sleap-1.3.3) [jverpeut@cg005:~]$ sleap-label Traceback (most recent call last): File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 568, in _build_master ws.require(__requires__) File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 886, in require needed = self.resolve(parse_requirements(requirements)) File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 777, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (numpy 1.19.2 (/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages), Requirement.parse('numpy<1.19.0,>=1.18.1'), {'sleap'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/jverpeut/env/sleap-1.3.3/bin/sleap-label", line 33, in <module> sys.exit(load_entry_point('sleap==1.1.5', 'console_scripts', 'sleap-label')()) File "/data/jverpeut/env/sleap-1.3.3/bin/sleap-label", line 25, in importlib_load_entry_point return next(matches).load() File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 93, in load module = import_module(match.group('module')) File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/sleap/__init__.py", line 9, in <module> from sleap.io.dataset import Labels, load_file File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/sleap/io/dataset.py", line 61, in <module> from sklearn.model_selection import train_test_split File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/sklearn/__init__.py", line 82, in <module> from .base import clone File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/sklearn/base.py", line 17, in <module> from .utils import _IS_32BIT File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/sklearn/utils/__init__.py", line 23, in <module> from .class_weight import compute_class_weight, compute_sample_weight File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/sklearn/utils/class_weight.py", line 7, in <module> from .validation import _deprecate_positional_args File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/sklearn/utils/validation.py", line 26, in <module> from .fixes import _object_dtype_isnan, parse_version File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/sklearn/utils/fixes.py", line 28, in <module> from pkg_resources import parse_version # type: ignore File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3242, in <module> @_call_aside File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside f(*args, **kwargs) File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master return cls._build_from_requirements(__requires__) File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/data/jverpeut/env/sleap-1.3.3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'wheel>=0.26' distribution was not found and is required by tensorflow ```
(Fixed) Cluster install with added dependencies (this now opens a gui): ``` # Name | Version | Build | Channel _libgcc_mutex | 0.1 | conda_forge | conda-forge _openmp_mutex | 4.5 | 2_gnu | conda-forge absl-py | 1.0.0 | pypi_0 | pypi alsa-lib | 1.2.3.2 | h166bdaf_0 | conda-forge astunparse | 1.6.3 | pypi_0 | pypi attrs | 21.4.0 | pyhd8ed1ab_0 | conda-forge backports-zoneinfo | 0.2.1 | pypi_0 | pypi blosc | 1.21.5 | h0f2a231_0 | conda-forge brotli | 1.0.9 | h166bdaf_9 | conda-forge brotli-bin | 1.0.9 | h166bdaf_9 | conda-forge brunsli | 0.1 | h9c3ff4c_0 | conda-forge bzip2 | 1.0.8 | h7f98852_4 | conda-forge c-ares | 1.19.1 | hd590300_0 | conda-forge c-blosc2 | 2.10.2 | hb4ffafa_0 | conda-forge ca-certificates | 2023.7.22 | hbcca054_0 | conda-forge cached-property | 1.5.2 | hd8ed1ab_1 | conda-forge cached_property | 1.5.2 | pyha770c72_1 | conda-forge cachetools | 4.2.4 | pypi_0 | pypi cairo | 1.16.0 | h6cf1ce9_1008 | conda-forge cattrs | 1.1.1 | pyhd8ed1ab_0 | conda-forge certifi | 2023.7.22 | pyhd8ed1ab_0 | conda-forge cfitsio | 4.0.0 | h9a35b8e_0 | conda-forge charls | 2.3.4 | h9c3ff4c_0 | conda-forge charset-normalizer | 2.0.9 | pypi_0 | pypi cloudpickle | 2.2.1 | pyhd8ed1ab_0 | conda-forge cuda-nvcc | 11.3.58 | h2467b9f_0 | nvidia cudatoolkit | 11.3.1 | hb98b00a_12 | conda-forge cudnn | 8.2.1.32 | h86fa8c9_0 | conda-forge cycler | 0.11.0 | pyhd8ed1ab_0 | conda-forge cytoolz | 0.12.0 | py37h540881e_0 | conda-forge dask-core | 2022.2.0 | pyhd8ed1ab_0 | conda-forge dbus | 1.13.6 | h5008d03_3 | conda-forge efficientnet | 1.0.0 | pypi_0 | pypi expat | 2.5.0 | hcb278e6_1 | conda-forge ffmpeg | 4.3.2 | h37c90e5_3 | conda-forge flatbuffers | 2 | pypi_0 | pypi fontconfig | 2.14.2 | h14ed4e7_0 | conda-forge fonttools | 4.38.0 | py37h540881e_0 | conda-forge freetype | 2.12.1 | h267a509_2 | conda-forge fsspec | 2023.1.0 | pyhd8ed1ab_0 | conda-forge gast | 0.4.0 | pypi_0 | pypi geos | 3.11.0 | h27087fc_0 | conda-forge gettext | 0.21.1 | h27087fc_0 | conda-forge giflib | 5.2.1 | h0b41bf4_3 | conda-forge gmp | 6.2.1 | h58526e2_0 | conda-forge gnutls | 3.6.13 | h85f3911_1 | conda-forge google-auth | 2.3.3 | pypi_0 | pypi google-auth-oauthlib | 0.4.6 | pypi_0 | pypi google-pasta | 0.2.0 | pypi_0 | pypi graphite2 | 1.3.13 | h58526e2_1001 | conda-forge grpcio | 1.43.0 | pypi_0 | pypi gst-plugins-base | 1.18.5 | hf529b03_3 | conda-forge gstreamer | 1.18.5 | h9f60fe5_3 | conda-forge h5py | 3.1.0 | nompi_py37h1e65 | 1dc_100    conda-forge harfbuzz | 2.9.1 | h83ec7ef_1 | conda-forge hdf5 | 1.10.6 | nompi_h6a2412b_ | 1114    conda-forge icu | 68.2 | h9c3ff4c_0 | conda-forge idna | 3.3 | pypi_0 | pypi image-classifiers | 1.0.0 | pypi_0 | pypi imagecodecs | 2021.11.20 | py37h119f88a_2 | conda-forge imageio | 2.31.1 | pyh24c5eb1_0 | conda-forge imgaug | 0.4.0 | pyhd8ed1ab_1 | conda-forge imgstore | 0.2.9 | pypi_0 | pypi importlib-metadata | 4.2.0 | pypi_0 | pypi importlib-resources | 5.12.0 | pypi_0 | pypi jasper | 1.900.1 | h07fcdf6_1006 | conda-forge joblib | 1.3.2 | pyhd8ed1ab_0 | conda-forge jpeg | 9e | h0b41bf4_3 | conda-forge jsmin | 3.0.1 | pyhd8ed1ab_0 | conda-forge jsonpickle | 1.2 | py_0 | conda-forge jsonschema | 4.17.3 | pypi_0 | pypi jxrlib | 1.1 | h7f98852_2 | conda-forge keras | 2.7.0 | pypi_0 | pypi keras-applications | 1.0.8 | pypi_0 | pypi keras-preprocessing | 1.1.2 | pypi_0 | pypi keyutils | 1.6.1 | h166bdaf_0 | conda-forge kiwisolver | 1.4.4 | py37h7cecad7_0 | conda-forge krb5 | 1.19.3 | h3790be6_0 | conda-forge lame | 3.1 | h166bdaf_1003 | conda-forge lcms2 | 2.14 | h6ed2654_0 | conda-forge ld_impl_linux-64 | 2.4 | h41732ed_0 | conda-forge lerc | 3 | h9c3ff4c_0 | conda-forge libaec | 1.1.1 | h59595ed_0 | conda-forge libblas | 3.9.0 | 18_linux64_open | blas    conda-forge libbrotlicommon | 1.0.9 | h166bdaf_9 | conda-forge libbrotlidec | 1.0.9 | h166bdaf_9 | conda-forge libbrotlienc | 1.0.9 | h166bdaf_9 | conda-forge libcblas | 3.9.0 | 18_linux64_open | blas    conda-forge libclang | 12.0.0 | pypi_0 | pypi libcurl | 7.86.0 | h7bff187_1 | conda-forge libdeflate | 1.1 | h7f98852_0 | conda-forge libedit | 3.1.20191231 | he28a2e2_2 | conda-forge libev | 4.33 | h516909a_1 | conda-forge libevent | 2.1.10 | h9b69904_4 | conda-forge libexpat | 2.5.0 | hcb278e6_1 | conda-forge libffi | 3.4.2 | h7f98852_5 | conda-forge libgcc-ng | 13.2.0 | h807b86a_2 | conda-forge libgfortran-ng | 13.2.0 | h69a702a_2 | conda-forge libgfortran5 | 13.2.0 | ha4646dd_2 | conda-forge libglib | 2.78.0 | hebfc3b9_0 | conda-forge libgomp | 13.2.0 | h807b86a_2 | conda-forge libiconv | 1.17 | h166bdaf_0 | conda-forge liblapack | 3.9.0 | 18_linux64_open | blas    conda-forge liblapacke | 3.9.0 | 18_linux64_open | blas    conda-forge libllvm11 | 11.1.0 | he0ac6c6_5 | conda-forge libnghttp2 | 1.51.0 | hdcd2b5c_0 | conda-forge libnsl | 2.0.0 | hd590300_1 | conda-forge libogg | 1.3.4 | h7f98852_1 | conda-forge libopenblas | 0.3.24 | pthreads_h413a1 | c8_0    conda-forge libopencv | 4.5.1 | py37h90094e2_0 | conda-forge libopus | 1.3.1 | h7f98852_1 | conda-forge libpng | 1.6.39 | h753d276_0 | conda-forge libpq | 13.8 | hd77ab85_0 | conda-forge libprotobuf | 3.21.8 | h6239696_0 | conda-forge libsodium | 1.0.18 | h36c2ea0_1 | conda-forge libsqlite | 3.43.0 | h2797004_0 | conda-forge libssh2 | 1.10.0 | haa6b8db_3 | conda-forge libstdcxx-ng | 13.2.0 | h7e041cc_2 | conda-forge libtiff | 4.4.0 | h0fcbabc_0 | conda-forge libuuid | 2.38.1 | h0b41bf4_0 | conda-forge libvorbis | 1.3.7 | h9c3ff4c_0 | conda-forge libwebp-base | 1.3.2 | hd590300_0 | conda-forge libxcb | 1.13 | h7f98852_1004 | conda-forge libxkbcommon | 1.0.3 | he3ba5ed_0 | conda-forge libxml2 | 2.9.12 | h72842e0_0 | conda-forge libxslt | 1.1.33 | h15afd5d_2 | conda-forge libzlib | 1.2.13 | hd590300_5 | conda-forge libzopfli | 1.0.3 | h9c3ff4c_0 | conda-forge locket | 1.0.0 | pyhd8ed1ab_0 | conda-forge lz4-c | 1.9.3 | h9c3ff4c_1 | conda-forge markdown | 3.3.6 | pypi_0 | pypi markdown-it-py | 2.2.0 | pyhd8ed1ab_0 | conda-forge matplotlib-base | 3.5.3 | py37hf395dca_2 | conda-forge mdurl | 0.1.0 | pyhd8ed1ab_0 | conda-forge munkres | 1.1.4 | pyh9f0ad1d_0 | conda-forge mysql-common | 8.0.32 | h14678bc_0 | conda-forge mysql-libs | 8.0.32 | h54cf53e_0 | conda-forge ncurses | 6.4 | hcb278e6_0 | conda-forge ndx-pose | 0.1.1 | pypi_0 | pypi nettle | 3.6 | he412f7d_0 | conda-forge networkx | 2.6.3 | pyhd8ed1ab_1 | conda-forge nixio | 1.5.3 | pypi_0 | pypi nspr | 4.35 | h27087fc_0 | conda-forge nss | 3.94 | h1d7d5a4_0 | conda-forge numpy | 1.19.5 | pypi_0 | pypi oauthlib | 3.1.1 | pypi_0 | pypi opencv | 4.5.1 | py37h89c1867_0 | conda-forge opencv-python-headless | 4.2.0.34 | pypi_0 | pypi openh264 | 2.1.1 | h780b84a_0 | conda-forge openjpeg | 2.5.0 | h7d73246_1 | conda-forge openssl | 1.1.1w | hd590300_0 | conda-forge opt-einsum | 3.3.0 | pypi_0 | pypi packaging | 21.3 | pypi_0 | pypi pandas | 1.3.5 | py37he8f5f7f_0 | conda-forge partd | 1.4.1 | pyhd8ed1ab_0 | conda-forge patsy | 0.5.3 | pyhd8ed1ab_0 | conda-forge pcre2 | 10.4 | hc3806b6_0 | conda-forge pillow | 9.2.0 | py37h850a105_2 | conda-forge pip | 23.2.1 | pyhd8ed1ab_0 | conda-forge pixman | 0.42.2 | h59595ed_0 | conda-forge pkgutil-resolve-name | 1.3.10 | pypi_0 | pypi protobuf | 3.19.1 | pypi_0 | pypi psutil | 5.9.3 | py37h540881e_0 | conda-forge pthread-stubs | 0.4 | h36c2ea0_1001 | conda-forge py-opencv | 4.5.1 | py37h888b3d9_0 | conda-forge pyasn1 | 0.4.8 | pypi_0 | pypi pyasn1-modules | 0.2.8 | pypi_0 | pypi pygments | 2.16.1 | pyhd8ed1ab_0 | conda-forge pykalman | 0.9.5 | py_1 | conda-forge pynwb | 2.3.3 | pypi_0 | pypi pyparsing | 3.0.6 | pypi_0 | pypi pyrsistent | 0.19.3 | pypi_0 | pypi pyside2 | 5.13.2 | py37hfa98aef_7 | conda-forge python | 3.7.12 | hb7a2778_100_cp | ython    conda-forge python-dateutil | 2.8.2 | pyhd8ed1ab_0 | conda-forge python-rapidjson | 1.9 | py37hd23a5d3_0 | conda-forge python_abi | 3.7 | 4_cp37m | conda-forge pytz | 2023.3.post1 | pyhd8ed1ab_0 | conda-forge pywavelets | 1.3.0 | py37hda87dfa_1 | conda-forge pyyaml | 6 | py37h540881e_4 | conda-forge pyzmq | 24.0.1 | py37h0c0c2a8_0 | conda-forge qimage2ndarray | 1.10.0 | pypi_0 | pypi qt | 5.12.9 | hda022c4_4 | conda-forge qtpy | 2.4.0 | pyhd8ed1ab_0 | conda-forge readline | 8.2 | h8228510_1 | conda-forge requests | 2.26.0 | pypi_0 | pypi requests-oauthlib | 1.3.0 | pypi_0 | pypi rich | 13.6.0 | pyhd8ed1ab_0 | conda-forge ruamel-yaml | 0.17.32 | pypi_0 | pypi ruamel-yaml-clib | 0.2.7 | pypi_0 | pypi scikit-image | 0.19.3 | py37hfb7772e_1 | conda-forge scikit-learn | 1 | py37hf0f1638_1 | conda-forge scikit-video | 1.1.11 | pyh24bf2e0_0 | conda-forge scipy | 1.7.3 | py37hf2a6cf1_0 | conda-forge seaborn | 0.12.2 | hd8ed1ab_0 | conda-forge seaborn-base | 0.12.2 | pyhd8ed1ab_0 | conda-forge segmentation-models | 1.0.1 | pypi_0 | pypi setuptools | 59.8.0 | py37h89c1867_1 | conda-forge setuptools-scm | 6.3.2 | pypi_0 | pypi shapely | 1.8.5 | py37ha4e3bd1_0 | conda-forge six | 1.16.0 | pyh6c4a22f_0 | conda-forge sleap | 1.3.3 | pypi_0 | pypi snappy | 1.1.10 | h9fff704_0 | conda-forge sqlite | 3.43.0 | h2c6b66d_0 | conda-forge statsmodels | 0.13.2 | py37hda87dfa_0 | conda-forge tensorboard | 2.7.0 | pypi_0 | pypi tensorboard-data-server | 0.6.1 | pypi_0 | pypi tensorboard-plugin-wit | 1.8.0 | pypi_0 | pypi tensorflow | 2.7.0 | pypi_0 | pypi tensorflow-estimator | 2.7.0 | pypi_0 | pypi tensorflow-hub | 0.13.0 | pyh56297ac_0 | conda-forge tensorflow-io-gcs-filesyst | em 0.23.1 | pyp | i_0    pypi termcolor | 1.1.0 | pypi_0 | pypi threadpoolctl | 3.1.0 | pyh8a188c0_0 | conda-forge tifffile | 2021.11.2 | pyhd8ed1ab_0 | conda-forge tk | 8.6.13 | h2797004_0 | conda-forge tomli | 2.0.0 | pypi_0 | pypi toolz | 0.12.0 | pyhd8ed1ab_0 | conda-forge typing-extensions | 4.0.1 | pypi_0 | pypi typing_extensions | 4.7.1 | pyha770c72_0 | conda-forge tzlocal | 5.0.1 | pypi_0 | pypi unicodedata2 | 14.0.0 | py37h540881e_1 | conda-forge urllib3 | 1.26.7 | pypi_0 | pypi werkzeug | 2.0.2 | pypi_0 | pypi wheel | 0.41.2 | pyhd8ed1ab_0 | conda-forge wrapt | 1.13.3 | pypi_0 | pypi x264 | 1!161.3030 | h7f98852_1 | conda-forge xorg-kbproto | 1.0.7 | h7f98852_1002 | conda-forge xorg-libice | 1.1.1 | hd590300_0 | conda-forge xorg-libsm | 1.2.4 | h7391055_0 | conda-forge xorg-libx11 | 1.8.4 | h0b41bf4_0 | conda-forge xorg-libxau | 1.0.11 | hd590300_0 | conda-forge xorg-libxdmcp | 1.1.3 | h7f98852_0 | conda-forge xorg-libxext | 1.3.4 | h0b41bf4_2 | conda-forge xorg-libxrender | 0.9.10 | h7f98852_1003 | conda-forge xorg-renderproto | 0.11.1 | h7f98852_1002 | conda-forge xorg-xextproto | 7.3.0 | h0b41bf4_1003 | conda-forge xorg-xproto | 7.0.31 | h7f98852_1007 | conda-forge xz | 5.2.6 | h166bdaf_0 | conda-forge yaml | 0.2.5 | h7f98852_2 | conda-forge zeromq | 4.3.4 | h9c3ff4c_1 | conda-forge zfp | 0.5.5 | h9c3ff4c_8 | conda-forge zipp | 3.6.0 | pypi_0 | pypi zlib | 1.2.13 | hd590300_5 | conda-forge zlib-ng | 2.0.7 | h0b41bf4_0 | conda-forge zstd | 1.5.5 | hfc55251_0 | conda-forge ```
roomrys commented 1 year ago

Formatted version of above using this function.

(Differing) dependency comparison [local v. cluster] Package Name | local | cluster -- | -- | -- _libgcc_mutex | 0.1 _openmp_mutex | 4.5 alsa-lib |   | 1.2.3.2 brunsli |   | 0.1 c-ares |   | 1.19.1 c-blosc2 | 2.10.4 | 2.10.2 cached_property | 1.5.2 cairo |   | 1.16.0 dbus |   | 1.13.6 expat |   | 2.5.0 ffmpeg |   | 4.3.2 flatbuffers | 2 | 2 fontconfig | 2.14.2 freeglut | 3.2.2 |   gettext |   | 0.21.1 gmp |   | 6.2.1 gnutls |   | 3.6.13 graphite2 |   | 1.3.13 gst-plugins-base | 1.18.5 gstreamer | 1.18.5 harfbuzz |   | 2.9.1 hdf5 |   | 1.10.6 hdmf | 3.6.1 |   icu | 69.1 | 68.2 importlib-metadata | 4.10.0 | 4.2.0 intel-openmp | 2023.2.0 |   jasper | 2.0.33 | 1.900.1 keyutils |   | 1.6.1 krb5 | 1.20.1 | 1.19.3 lame |   | 3.1 ld_impl_linux-64 | 2.4 lerc | 3 | 3 libcurl | 8.1.2 | 7.86.0 libdeflate | 1.1 | 1.1 libedit |   | 3.1.20191231 libev |   | 4.33 libevent |   | 2.1.10 libexpat |   | 2.5.0 libffi |   | 3.4.2 libgcc-ng |   | 13.2.0 libgfortran-ng | 13.2.0 libgfortran5 | 13.2.0 libglib |   | 2.78.0 libgomp |   | 13.2.0 libhwloc | 2.9.1 |   libllvm11 |   | 11.1.0 libnghttp2 | 1.51.0 libnsl |   | 2.0.0 libogg |   | 1.3.4 libopenblas | 0.3.24 libopus |   | 1.3.1 libpq |   | 13.8 libstdcxx-ng | 13.2.0 libuuid |   | 2.38.1 libvorbis |   | 1.3.7 libxkbcommon | 1.0.3 libxml2 | 2.10.4 | 2.9.12 libxslt | 1.1.37 | 1.1.33 m2w64-gcc-libgfortran | 5.3.0 |   m2w64-gcc-libs | 5.3.0 |   m2w64-gcc-libs-core | 5.3.0 |   m2w64-gmp | 6.1.0 |   m2w64-libwinpthread-git | 5.0.0.4634.697f757 mkl | 2022.1.0 |   msys2-conda-epoch | 20160418 |   mysql-common | 8.0.32 mysql-libs | 8.0.32 ncurses |   | 6.4 nettle |   | 3.6 nspr |   | 4.35 nss |   | 3.94 openh264 | 2.1.1 pcre2 |   | 10.4 pixman |   | 0.42.2 pthreads-win32 | 2.9.1 |   pyyaml | 6 | 6 readline |   | 8.2 scikit-learn | 1 | 1 tbb | 2021.9.0 |   tensorflow-hub | 0.12.0 | 0.13.0 tensorflow-io-gcs-filesyst | em 0.23.1 tensorflow-io-gcs-filesystem | 0.23.1 |   tzdata | 2023.3 |   ucrt | 10.0.22621.0 vc | 14.3 |   vc14_runtime | 14.36.32532 vs2015_runtime | 14.36.32532 x264 |   | 1!161.3030 xorg-kbproto | 1.0.7 xorg-libice | 1.1.1 xorg-libsm | 1.2.4 xorg-libx11 | 1.8.4 xorg-libxext | 1.3.4 xorg-libxrender | 0.9.10 xorg-renderproto | 0.11.1 xorg-xextproto | 7.3.0 xorg-xproto | 7.0.31
(Full) dependency comparison [local v. cluster] Package Name | local | cluster -- | -- | -- _libgcc_mutex | 0.1 _openmp_mutex | 4.5 absl-py | 1.0.0 | 1.0.0 alsa-lib |   | 1.2.3.2 astunparse | 1.6.3 | 1.6.3 attrs | 21.4.0 | 21.4.0 backports-zoneinfo | 0.2.1 | 0.2.1 blosc | 1.21.5 | 1.21.5 brotli | 1.0.9 | 1.0.9 brotli-bin | 1.0.9 | 1.0.9 brunsli |   | 0.1 bzip2 | 1.0.8 | 1.0.8 c-ares |   | 1.19.1 c-blosc2 | 2.10.4 | 2.10.2 ca-certificates | 2023.7.22 | 2023.7.22 cached-property | 1.5.2 | 1.5.2 cached_property | 1.5.2 cachetools | 4.2.4 | 4.2.4 cairo |   | 1.16.0 cattrs | 1.1.1 | 1.1.1 certifi | 2023.7.22 | 2023.7.22 cfitsio | 4.0.0 | 4.0.0 charls | 2.3.4 | 2.3.4 charset-normalizer | 2.0.9 | 2.0.9 cloudpickle | 2.2.1 | 2.2.1 cuda-nvcc | 11.3.58 | 11.3.58 cudatoolkit | 11.3.1 | 11.3.1 cudnn | 8.2.1.32 | 8.2.1.32 cycler | 0.11.0 | 0.11.0 cytoolz | 0.12.0 | 0.12.0 dask-core | 2022.2.0 | 2022.2.0 dbus |   | 1.13.6 efficientnet | 1.0.0 | 1.0.0 expat |   | 2.5.0 ffmpeg |   | 4.3.2 flatbuffers | 2 | 2 fontconfig | 2.14.2 fonttools | 4.38.0 | 4.38.0 freeglut | 3.2.2 |   freetype | 2.12.1 | 2.12.1 fsspec | 2023.1.0 | 2023.1.0 gast | 0.4.0 | 0.4.0 geos | 3.11.0 | 3.11.0 gettext |   | 0.21.1 giflib | 5.2.1 | 5.2.1 gmp |   | 6.2.1 gnutls |   | 3.6.13 google-auth | 2.3.3 | 2.3.3 google-auth-oauthlib | 0.4.6 | 0.4.6 google-pasta | 0.2.0 | 0.2.0 graphite2 |   | 1.3.13 grpcio | 1.43.0 | 1.43.0 gst-plugins-base | 1.18.5 gstreamer | 1.18.5 h5py | 3.1.0 | 3.1.0 harfbuzz |   | 2.9.1 hdf5 |   | 1.10.6 hdmf | 3.6.1 |   icu | 69.1 | 68.2 idna | 3.3 | 3.3 image-classifiers | 1.0.0 | 1.0.0 imagecodecs | 2021.11.20 | 2021.11.20 imageio | 2.31.1 | 2.31.1 imgaug | 0.4.0 | 0.4.0 imgstore | 0.2.9 | 0.2.9 importlib-metadata | 4.10.0 | 4.2.0 importlib-resources | 5.12.0 | 5.12.0 intel-openmp | 2023.2.0 |   jasper | 2.0.33 | 1.900.1 joblib | 1.3.2 | 1.3.2 jpeg | 9e | 9e jsmin | 3.0.1 | 3.0.1 jsonpickle | 1.2 | 1.2 jsonschema | 4.17.3 | 4.17.3 jxrlib | 1.1 | 1.1 keras | 2.7.0 | 2.7.0 keras-applications | 1.0.8 | 1.0.8 keras-preprocessing | 1.1.2 | 1.1.2 keyutils |   | 1.6.1 kiwisolver | 1.4.4 | 1.4.4 krb5 | 1.20.1 | 1.19.3 lame |   | 3.1 lcms2 | 2.14 | 2.14 ld_impl_linux-64 | 2.4 lerc | 3 | 3 libaec | 1.1.1 | 1.1.1 libblas | 3.9.0 | 3.9.0 libbrotlicommon | 1.0.9 | 1.0.9 libbrotlidec | 1.0.9 | 1.0.9 libbrotlienc | 1.0.9 | 1.0.9 libcblas | 3.9.0 | 3.9.0 libclang | 12.0.0 | 12.0.0 libcurl | 8.1.2 | 7.86.0 libdeflate | 1.1 | 1.1 libedit |   | 3.1.20191231 libev |   | 4.33 libevent |   | 2.1.10 libexpat |   | 2.5.0 libffi |   | 3.4.2 libgcc-ng |   | 13.2.0 libgfortran-ng | 13.2.0 libgfortran5 | 13.2.0 libglib |   | 2.78.0 libgomp |   | 13.2.0 libhwloc | 2.9.1 |   libiconv | 1.17 | 1.17 liblapack | 3.9.0 | 3.9.0 liblapacke | 3.9.0 | 3.9.0 libllvm11 |   | 11.1.0 libnghttp2 | 1.51.0 libnsl |   | 2.0.0 libogg |   | 1.3.4 libopenblas | 0.3.24 libopencv | 4.5.1 | 4.5.1 libopus |   | 1.3.1 libpng | 1.6.39 | 1.6.39 libpq |   | 13.8 libprotobuf | 3.21.8 | 3.21.8 libsodium | 1.0.18 | 1.0.18 libsqlite | 3.43.0 | 3.43.0 libssh2 | 1.10.0 | 1.10.0 libstdcxx-ng | 13.2.0 libtiff | 4.4.0 | 4.4.0 libuuid |   | 2.38.1 libvorbis |   | 1.3.7 libwebp-base | 1.3.2 | 1.3.2 libxcb | 1.13 | 1.13 libxkbcommon | 1.0.3 libxml2 | 2.10.4 | 2.9.12 libxslt | 1.1.37 | 1.1.33 libzlib | 1.2.13 | 1.2.13 libzopfli | 1.0.3 | 1.0.3 locket | 1.0.0 | 1.0.0 lz4-c | 1.9.3 | 1.9.3 m2w64-gcc-libgfortran | 5.3.0 |   m2w64-gcc-libs | 5.3.0 |   m2w64-gcc-libs-core | 5.3.0 |   m2w64-gmp | 6.1.0 |   m2w64-libwinpthread-git | 5.0.0.4634.697f757 markdown | 3.3.6 | 3.3.6 markdown-it-py | 2.2.0 | 2.2.0 matplotlib-base | 3.5.3 | 3.5.3 mdurl | 0.1.0 | 0.1.0 mkl | 2022.1.0 |   msys2-conda-epoch | 20160418 |   munkres | 1.1.4 | 1.1.4 mysql-common | 8.0.32 mysql-libs | 8.0.32 ncurses |   | 6.4 ndx-pose | 0.1.1 | 0.1.1 nettle |   | 3.6 networkx | 2.6.3 | 2.6.3 nixio | 1.5.3 | 1.5.3 nspr |   | 4.35 nss |   | 3.94 numpy | 1.19.5 | 1.19.5 oauthlib | 3.1.1 | 3.1.1 opencv | 4.5.1 | 4.5.1 opencv-python-headless | 4.2.0.34 | 4.2.0.34 openh264 | 2.1.1 openjpeg | 2.5.0 | 2.5.0 openssl | 1.1.1w | 1.1.1w opt-einsum | 3.3.0 | 3.3.0 packaging | 21.3 | 21.3 pandas | 1.3.5 | 1.3.5 partd | 1.4.1 | 1.4.1 patsy | 0.5.3 | 0.5.3 pcre2 |   | 10.4 pillow | 9.2.0 | 9.2.0 pip | 23.2.1 | 23.2.1 pixman |   | 0.42.2 pkgutil-resolve-name | 1.3.10 | 1.3.10 protobuf | 3.19.1 | 3.19.1 psutil | 5.9.3 | 5.9.3 pthread-stubs | 0.4 | 0.4 pthreads-win32 | 2.9.1 |   py-opencv | 4.5.1 | 4.5.1 pyasn1 | 0.4.8 | 0.4.8 pyasn1-modules | 0.2.8 | 0.2.8 pygments | 2.16.1 | 2.16.1 pykalman | 0.9.5 | 0.9.5 pynwb | 2.3.3 | 2.3.3 pyparsing | 3.0.6 | 3.0.6 pyrsistent | 0.19.3 | 0.19.3 pyside2 | 5.13.2 | 5.13.2 python | 3.7.12 | 3.7.12 python-dateutil | 2.8.2 | 2.8.2 python-rapidjson | 1.9 | 1.9 python_abi | 3.7 | 3.7 pytz | 2023.3.post1 | 2023.3.post1 pywavelets | 1.3.0 | 1.3.0 pyyaml | 6 | 6 pyzmq | 24.0.1 | 24.0.1 qimage2ndarray | 1.10.0 | 1.10.0 qt | 5.12.9 | 5.12.9 qtpy | 2.4.0 | 2.4.0 readline |   | 8.2 requests | 2.26.0 | 2.26.0 requests-oauthlib | 1.3.0 | 1.3.0 rich | 13.6.0 | 13.6.0 ruamel-yaml | 0.17.32 | 0.17.32 ruamel-yaml-clib | 0.2.7 | 0.2.7 scikit-image | 0.19.3 | 0.19.3 scikit-learn | 1 | 1 scikit-video | 1.1.11 | 1.1.11 scipy | 1.7.3 | 1.7.3 seaborn | 0.12.2 | 0.12.2 seaborn-base | 0.12.2 | 0.12.2 segmentation-models | 1.0.1 | 1.0.1 setuptools | 59.8.0 | 59.8.0 setuptools-scm | 6.3.2 | 6.3.2 shapely | 1.8.5 | 1.8.5 six | 1.16.0 | 1.16.0 sleap | 1.3.3 | 1.3.3 snappy | 1.1.10 | 1.1.10 sqlite | 3.43.0 | 3.43.0 statsmodels | 0.13.2 | 0.13.2 tbb | 2021.9.0 |   tensorboard | 2.7.0 | 2.7.0 tensorboard-data-server | 0.6.1 | 0.6.1 tensorboard-plugin-wit | 1.8.0 | 1.8.0 tensorflow | 2.7.0 | 2.7.0 tensorflow-estimator | 2.7.0 | 2.7.0 tensorflow-hub | 0.12.0 | 0.13.0 tensorflow-io-gcs-filesyst | em 0.23.1 tensorflow-io-gcs-filesystem | 0.23.1 |   termcolor | 1.1.0 | 1.1.0 threadpoolctl | 3.1.0 | 3.1.0 tifffile | 2021.11.2 | 2021.11.2 tk | 8.6.13 | 8.6.13 tomli | 2.0.0 | 2.0.0 toolz | 0.12.0 | 0.12.0 typing-extensions | 4.0.1 | 4.0.1 typing_extensions | 4.7.1 | 4.7.1 tzdata | 2023.3 |   tzlocal | 5.0.1 | 5.0.1 ucrt | 10.0.22621.0 unicodedata2 | 14.0.0 | 14.0.0 urllib3 | 1.26.7 | 1.26.7 vc | 14.3 |   vc14_runtime | 14.36.32532 vs2015_runtime | 14.36.32532 werkzeug | 2.0.2 | 2.0.2 wheel | 0.41.2 | 0.41.2 wrapt | 1.13.3 | 1.13.3 x264 |   | 1!161.3030 xorg-kbproto | 1.0.7 xorg-libice | 1.1.1 xorg-libsm | 1.2.4 xorg-libx11 | 1.8.4 xorg-libxau | 1.0.11 | 1.0.11 xorg-libxdmcp | 1.1.3 | 1.1.3 xorg-libxext | 1.3.4 xorg-libxrender | 0.9.10 xorg-renderproto | 0.11.1 xorg-xextproto | 7.3.0 xorg-xproto | 7.0.31 xz | 5.2.6 | 5.2.6 yaml | 0.2.5 | 0.2.5 zeromq | 4.3.4 | 4.3.4 zfp | 0.5.5 | 0.5.5 zipp | 3.6.0 | 3.6.0 zlib | 1.2.13 | 1.2.13 zlib-ng | 2.0.7 | 2.0.7 zstd | 1.5.5 | 1.5.5

(Differing) dependency comparison [local v. mine]

Package Name local my_env
importlib-metadata 4.10.0 4.2.0
libaec 1.1.1 1.1.2
zipp 3.6.0 3.15.0
My environment: ```bash # packages in environment at C:\Users\TalmoLab\mambaforge\envs\spkg: # # Name Version Build Channel absl-py 1.0.0 pypi_0 pypi astunparse 1.6.3 pypi_0 pypi attrs 21.4.0 pyhd8ed1ab_0 conda-forge backports-zoneinfo 0.2.1 pypi_0 pypi blosc 1.21.5 hdccc3a2_0 conda-forge brotli 1.0.9 hcfcfb64_9 conda-forge brotli-bin 1.0.9 hcfcfb64_9 conda-forge bzip2 1.0.8 h8ffe710_4 conda-forge c-blosc2 2.10.4 h183a6f4_0 conda-forge ca-certificates 2023.7.22 h56e8100_0 conda-forge cached-property 1.5.2 pypi_0 pypi cachetools 4.2.4 pypi_0 pypi cattrs 1.1.1 pyhd8ed1ab_0 conda-forge certifi 2023.7.22 pyhd8ed1ab_0 conda-forge cfitsio 4.0.0 hd67004f_0 conda-forge charls 2.3.4 h39d44d4_0 conda-forge charset-normalizer 2.0.9 pypi_0 pypi cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge cuda-nvcc 11.3.58 hb8d16a4_0 nvidia cudatoolkit 11.3.1 hf2f0253_12 conda-forge cudnn 8.2.1.32 h754d62a_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge cytoolz 0.12.0 py37hcc03f2d_0 conda-forge dask-core 2022.2.0 pyhd8ed1ab_0 conda-forge efficientnet 1.0.0 pypi_0 pypi flatbuffers 2.0 pypi_0 pypi fonttools 4.38.0 py37h51bd9d9_0 conda-forge freeglut 3.2.2 h63175ca_2 conda-forge freetype 2.12.1 hdaf720e_2 conda-forge fsspec 2023.1.0 pyhd8ed1ab_0 conda-forge gast 0.4.0 pypi_0 pypi geos 3.11.0 h39d44d4_0 conda-forge giflib 5.2.1 h64bf75a_3 conda-forge google-auth 2.3.3 pypi_0 pypi google-auth-oauthlib 0.4.6 pypi_0 pypi google-pasta 0.2.0 pypi_0 pypi grpcio 1.43.0 pypi_0 pypi h5py 3.1.0 pypi_0 pypi hdmf 3.6.1 pypi_0 pypi icu 69.1 h0e60522_0 conda-forge idna 3.3 pypi_0 pypi image-classifiers 1.0.0 pypi_0 pypi imagecodecs 2021.11.20 py37hfea8715_2 conda-forge imageio 2.31.1 pyh24c5eb1_0 conda-forge imgaug 0.4.0 pyhd8ed1ab_1 conda-forge imgstore 0.2.9 pypi_0 pypi importlib-metadata 4.10.0 pypi_0 pypi importlib-resources 5.12.0 pypi_0 pypi intel-openmp 2023.2.0 h57928b3_50496 conda-forge jasper 2.0.33 hc2e4405_1 conda-forge joblib 1.3.2 pyhd8ed1ab_0 conda-forge jpeg 9e hcfcfb64_3 conda-forge jsmin 3.0.1 pyhd8ed1ab_0 conda-forge jsonpickle 1.2 py_0 conda-forge jsonschema 4.17.3 pypi_0 pypi jxrlib 1.1 h8ffe710_2 conda-forge keras 2.7.0 pypi_0 pypi keras-applications 1.0.8 pypi_0 pypi keras-preprocessing 1.1.2 pypi_0 pypi kiwisolver 1.4.4 py37h8c56517_0 conda-forge krb5 1.20.1 h6609f42_0 conda-forge lcms2 2.14 h90d422f_0 conda-forge lerc 3.0 h0e60522_0 conda-forge libaec 1.1.2 h63175ca_1 conda-forge libblas 3.9.0 18_win64_mkl conda-forge libbrotlicommon 1.0.9 hcfcfb64_9 conda-forge libbrotlidec 1.0.9 hcfcfb64_9 conda-forge libbrotlienc 1.0.9 hcfcfb64_9 conda-forge libcblas 3.9.0 18_win64_mkl conda-forge libclang 12.0.0 pypi_0 pypi libcurl 8.1.2 h68f0423_0 conda-forge libdeflate 1.10 h8ffe710_0 conda-forge libhwloc 2.9.1 h51c2c0f_0 conda-forge libiconv 1.17 h8ffe710_0 conda-forge liblapack 3.9.0 18_win64_mkl conda-forge liblapacke 3.9.0 18_win64_mkl conda-forge libopencv 4.5.1 py37ha0199f4_0 conda-forge libpng 1.6.39 h19919ed_0 conda-forge libprotobuf 3.21.8 h12be248_0 conda-forge libsodium 1.0.18 h8d14728_1 conda-forge libsqlite 3.43.0 hcfcfb64_0 conda-forge libssh2 1.10.0 h680486a_3 conda-forge libtiff 4.4.0 hc4061b1_0 conda-forge libwebp-base 1.3.2 hcfcfb64_0 conda-forge libxcb 1.13 hcd874cb_1004 conda-forge libxml2 2.10.4 hc3477c8_0 conda-forge libxslt 1.1.37 h0192164_0 conda-forge libzlib 1.2.13 hcfcfb64_5 conda-forge libzopfli 1.0.3 h0e60522_0 conda-forge locket 1.0.0 pyhd8ed1ab_0 conda-forge lz4-c 1.9.3 h8ffe710_1 conda-forge m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge markdown 3.3.6 pypi_0 pypi markdown-it-py 2.2.0 pyhd8ed1ab_0 conda-forge matplotlib-base 3.5.3 py37hbaab90a_2 conda-forge mdurl 0.1.0 pyhd8ed1ab_0 conda-forge mkl 2022.1.0 h6a75c08_874 conda-forge msys2-conda-epoch 20160418 1 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge ndx-pose 0.1.1 pypi_0 pypi networkx 2.6.3 pyhd8ed1ab_1 conda-forge nixio 1.5.3 pypi_0 pypi numpy 1.19.5 pypi_0 pypi oauthlib 3.1.1 pypi_0 pypi opencv 4.5.1 py37h03978a9_0 conda-forge opencv-python-headless 4.2.0.34 pypi_0 pypi openjpeg 2.5.0 hc9384bd_1 conda-forge openssl 1.1.1w hcfcfb64_0 conda-forge opt-einsum 3.3.0 pypi_0 pypi packaging 21.3 pypi_0 pypi pandas 1.3.5 py37h9386db6_0 conda-forge partd 1.4.1 pyhd8ed1ab_0 conda-forge patsy 0.5.3 pyhd8ed1ab_0 conda-forge pillow 9.2.0 py37h42a8222_2 conda-forge pip 23.2.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pypi_0 pypi protobuf 3.19.1 pypi_0 pypi psutil 5.9.3 py37h51bd9d9_0 conda-forge pthread-stubs 0.4 hcd874cb_1001 conda-forge pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge py-opencv 4.5.1 py37heaed05f_0 conda-forge pyasn1 0.4.8 pypi_0 pypi pyasn1-modules 0.2.8 pypi_0 pypi pygments 2.16.1 pyhd8ed1ab_0 conda-forge pykalman 0.9.5 py_1 conda-forge pynwb 2.3.3 pypi_0 pypi pyparsing 3.0.6 pypi_0 pypi pyrsistent 0.19.3 pypi_0 pypi pyside2 5.13.2 py37h760f651_8 conda-forge python 3.7.12 h7840368_100_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-rapidjson 1.9 py37h7f67f24_0 conda-forge python_abi 3.7 4_cp37m conda-forge pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge pywavelets 1.3.0 py37h3a130e4_1 conda-forge pyyaml 6.0 py37hcc03f2d_4 conda-forge pyzmq 24.0.1 py37h7347f05_0 conda-forge qimage2ndarray 1.10.0 pypi_0 pypi qt 5.12.9 h556501e_6 conda-forge qtpy 2.4.0 pyhd8ed1ab_0 conda-forge requests 2.26.0 pypi_0 pypi requests-oauthlib 1.3.0 pypi_0 pypi rich 13.6.0 pyhd8ed1ab_0 conda-forge ruamel-yaml 0.17.32 pypi_0 pypi ruamel-yaml-clib 0.2.7 pypi_0 pypi scikit-image 0.19.3 py37h3182a2c_1 conda-forge scikit-learn 1.0 py37ha78be43_1 conda-forge scikit-video 1.1.11 pyh24bf2e0_0 conda-forge scipy 1.7.3 py37hb6553fb_0 conda-forge seaborn 0.12.2 hd8ed1ab_0 conda-forge seaborn-base 0.12.2 pyhd8ed1ab_0 conda-forge segmentation-models 1.0.1 pypi_0 pypi setuptools 59.8.0 py37h03978a9_1 conda-forge setuptools-scm 6.3.2 pypi_0 pypi shapely 1.8.5 py37h475e9a0_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sleap 1.3.3 pypi_0 pypi snappy 1.1.10 hfb803bf_0 conda-forge sqlite 3.43.0 hcfcfb64_0 conda-forge statsmodels 0.13.2 py37h3a130e4_0 conda-forge tbb 2021.9.0 h91493d7_0 conda-forge tensorboard 2.7.0 pypi_0 pypi tensorboard-data-server 0.6.1 pypi_0 pypi tensorboard-plugin-wit 1.8.0 pypi_0 pypi tensorflow 2.7.0 pypi_0 pypi tensorflow-estimator 2.7.0 pypi_0 pypi tensorflow-hub 0.12.0 pyhca92ed8_0 conda-forge tensorflow-io-gcs-filesystem 0.23.1 pypi_0 pypi termcolor 1.1.0 pypi_0 pypi threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge tifffile 2021.11.2 pyhd8ed1ab_0 conda-forge tk 8.6.13 hcfcfb64_0 conda-forge tomli 2.0.0 pypi_0 pypi toolz 0.12.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.0.1 pypi_0 pypi typing_extensions 4.7.1 pyha770c72_0 conda-forge tzdata 2023.3 pypi_0 pypi tzlocal 5.0.1 pypi_0 pypi ucrt 10.0.22621.0 h57928b3_0 conda-forge unicodedata2 14.0.0 py37hcc03f2d_1 conda-forge urllib3 1.26.7 pypi_0 pypi vc 14.3 h64f974e_17 conda-forge vc14_runtime 14.36.32532 hdcecf7f_17 conda-forge vs2015_runtime 14.36.32532 h05e6639_17 conda-forge werkzeug 2.0.2 pypi_0 pypi wheel 0.41.2 pyhd8ed1ab_0 conda-forge wrapt 1.13.3 pypi_0 pypi xorg-libxau 1.0.11 hcd874cb_0 conda-forge xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge xz 5.2.6 h8d14728_0 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge zeromq 4.3.4 h0e60522_1 conda-forge zfp 0.5.5 h0e60522_8 conda-forge zipp 3.6.0 pypi_0 pypi zlib 1.2.13 hcfcfb64_5 conda-forge zlib-ng 2.0.7 hcfcfb64_0 conda-forge zstd 1.5.5 h12be248_0 conda-forge ```

This comparison might give us better results as it seems the cluster has many other packages installed that are not present in either my own environment not the local environment.

roomrys commented 1 year ago

HI @jverpeut,

Even though your environment shows the expected versions of qtpy and pyside2, to cover the basis can you double check the import by running the following command in your sleap environment:

python -c "import qtpy; from qtpy import QtCore; print(qtpy.__version__); print(QtCore.Qt.SortOrder)"

Thanks, Liezl

jverpeut commented 1 year ago

C:\Users\jverpeut>python -c "import qtpy; from qtpy import QtCore; print(qtpy.version); print(QtCore.Qt.SortOrder)" 2.4.0 <class 'PyQt5.QtCore.Qt.SortOrder'>

roomrys commented 1 year ago

Hmm ok... So it looks like you have PyQt5 being abstracted by qtpy whereas I have PySide2:

(spkg) C:\Users\TalmoLab>python -c "import qtpy; from qtpy import QtCore; print(qtpy.__version__); print(QtCore.Qt.SortOrder)"                                                                                                                  
2.4.0                                                                                                                   
<class 'PySide2.QtCore.Qt.SortOrder'> 

so, where did the PyQt5 come from...

jverpeut commented 1 year ago

If I try to install PySide2: Requirement already satisfied: PySide2 in c:\miniforge3\envs\sleap3\lib\site-packages (5.14.1) Requirement already satisfied: shiboken2==5.14.1 in c:\miniforge3\envs\sleap3\lib\site-packages (from PySide2) (5.14.1)

roomrys commented 1 year ago

I double checked our repo to make sure we aren't listing pyqt as a requirement anywhere and we are not.

I'm pretty sure that PyQt5 is pip installed (although there is a package pyqt-sip on the conda-forge channel). If it is pip installed, then we should be able to locate where it is installed with

pip show pyqt5

It's possible that user installed packages are being allowed into the conda environments - we'll draw some conclusions once we know the path.

jverpeut commented 1 year ago

(sleap3) C:\Users\jverpeut>pip show pyqt5 Name: PyQt5 Version: 5.9.2 Summary: Python bindings for the Qt cross platform UI and application toolkit Home-page: https://www.riverbankcomputing.com/software/pyqt/ Author: Riverbank Computing Limited Author-email: info@riverbankcomputing.com License: GPL v3 Location: c:\users\jverpeut\appdata\roaming\python\python37\site-packages Requires: sip Required-by:

roomrys commented 1 year ago

Aha ok definitely using user packages from outside the conda environment... We encountered this one time before:

TLDR It seems the workaround is to run the command set PYTHONNOUSERSITE=True (set for Windows, export for Linux) before running conda activate <name of environment> which will prevent the conda environment from accessing user site-package.


By looking at the path "C:\Users\ShaevitzLab\AppData\Roaming\Python\Python37\site-packages\cv2", it seems that python37 is attempting to import your global install of cv2. We want python to use the conda environment's pip install of cv2 which would be located at "C:\Anaconda3\envs\sleap_id\lib\site-packages\cv2". From the output of conda list, we know that you have opencv-python and opencv-python-headless installed in the environment, we just need to get python37 to use this installation instead of the global installation.

This issue arises because you have the same version of python installed globally as we currently use in SLEAP (python37). Per PEP370, to be considered a "standard python distribution", conda needs to allow same versions of python to access globally installed python packages - there is a whole list of issues revolving around this on conda's github, but it's a PEP standard so not a whole lot to do other than manually disable access to user site-packages.


Let us know how that works.

Thanks, Liezl

Originally posted by @roomrys in https://github.com/talmolab/sleap/issues/827#issuecomment-1176537974

Note that the set command will only set the variable in that instance of the terminal. If you would like to permanently remember the environment variable, then you would need to use

setx PYTHONNOUSERSITE True

(no equals unlike in set). You might need to open a new terminal to see the effects of setx with an

echo %PYTHONNOUSERSITE%
jverpeut commented 1 year ago

Ok, that gave me another error:

(sleap3) C:\Users\jverpeut>sleap-label Traceback (most recent call last): File "C:\miniforge3\envs\sleap3\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "C:\miniforge3\envs\sleap3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\miniforge3\envs\sleap3\Scripts\sleap-label.exe__main.py", line 4, in File "C:\miniforge3\envs\sleap3\lib\site-packages\sleap\init__.py", line 10, in from sleap.io.dataset import Labels, load_file File "C:\miniforge3\envs\sleap3\lib\site-packages\sleap\io\dataset.py", line 72, in from sleap.instance import ( File "C:\miniforge3\envs\sleap3\lib\site-packages\sleap\instance.py", line 32, in from sleap.io.video import Video File "C:\miniforge3\envs\sleap3\lib\site-packages\sleap\io\video.py", line 17, in from sleap.util import json_loads, json_dumps File "C:\miniforge3\envs\sleap3\lib\site-packages\sleap\util.py", line 21, in import psutil ModuleNotFoundError: No module named 'psutil'

roomrys commented 1 year ago

Argh, but you have psutil installed as shown in your conda list 🤯

psutil 5.9.3 py37h51bd9d9_0 conda-forge

What is the output of

pip show psutil

and

mamba repoquery whoneeds psutil

?

jverpeut commented 1 year ago

Maybe there is something wrong with my miniforge installation?

(base) C:\WINDOWS\system32>mamba activate sleap3

(sleap3) C:\WINDOWS\system32>pip show psutil Name: psutil Version: 5.9.5 Summary: Cross-platform lib for process and system monitoring in Python. Home-page: https://github.com/giampaolo/psutil Author: Giampaolo Rodola Author-email: g.rodola@gmail.com License: BSD-3-Clause Location: c:\users\jverpeut\appdata\roaming\python\python37\site-packages Requires: Required-by: ipykernel

(sleap3) C:\WINDOWS\system32>mamba repoquery whoneeds psutil 'mamba' is not recognized as an internal or external command, operable program or batch file.

roomrys commented 1 year ago

Well, there could be a few different things going on

  1. You have both conda and miniforge installed (we could check with conda env list and see if there are any environments in a different location) - although you already checked this - and/or
  2. Miniforge is not exposed to your path and so the mamba command only works in the designated miniforge terminal (Windows logo key + "mini" to find the miniforge prompt)

I still wouldn't expect to be able to find the psutil package from within your conda (regardless of which conda/mamba) environment if PYTHONNOUSERSITE is set (and verified with echo %PYTHONNOUSERSITE% which should print True if set).

Occasionally the wrong pip is referenced, kind of the same idea as what the PYTHONNOUSERSITE variable tries to avoid. I wonder which pip we are using here

pip show pip

If pip is from outside the environment, then my hypothesis would be that when installing the SLEAP library maybe instead of using the pip that is supposed to be installed and isolated within the environment, we used the pip outside the environment which installed things outside of the environment as well. OR, a subset of packages to be pip installed were already installed in your global user site-packages and since PYTHONNOUSERSITE was not set on installation, then pip opted to not install those packages since they were already globally installed.

Just a few wild guesses as of right now - I would check that echo %PYTHONNOUSERSITE% returns True first and also find the Miniforge prompt and maybe do a conda env list.

jverpeut commented 1 year ago

Sounds good.

(sleap3) C:\WINDOWS\system32>echo %PYTHONNOUSERSITE%
True

Environment:

(base) C:\Users\jverpeut>conda env list
# conda environments:
#
                         C:\ProgramData\Anaconda3
                         C:\ProgramData\anaconda3
                         C:\ProgramData\anaconda3\envs\cytomod
                         C:\ProgramData\anaconda3\envs\py39
bsoid_v2                 C:\Users\jverpeut\.conda\envs\bsoid_v2
py36                     C:\Users\jverpeut\.conda\envs\py36
base                  *  C:\miniforge3
sleap3                   C:\miniforge3\envs\sleap3
(sleap3) C:\WINDOWS\system32>pip show pip
Name: pip
Version: 22.3.1
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: distutils-sig@python.org
License: MIT
Location: c:\miniforge3\envs\sleap3\lib\site-packages
Requires:
Required-by:
roomrys commented 1 year ago

Diagnosis

Ok, so we do have two separate installations of software to interact with conda (anaconda3 and miniforge3). Note the paths to some environments (stored in the envs directory) are different than others, namely

C:\ProgramData\anaconda3\envs
C:\miniforge3\envs

You have 4 environments using anaconda3 (cytomod, py39, bsoid_v2, and py36) and only one using miniforge3 (sleap3).

Action plan

Assuming you are using all your environments and seeing as most are in anaconda3, I would suggest that we

  1. uninstall miniforge and then
  2. set the anaconda solver to libmamba and finally
  3. install using the conda base command instead of mamba

Details of the action plan

If you already have Anaconda on your computer, then you can set the solver to libmamba in the base environment (and skip the Mambaforge installation):


conda update -n base conda
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
_the note that's probably easily overlooked in [this section](https://sleap.ai/installation.html#installing-mambaforge)_

Setting the solver to libmamba will help us get the faster dependency resolution that we want, but just means that instead of using the mamba command, we need to use the conda command. It also means we can't use some special features of mamba like the mamba repoquery command, but that's no biggy.

The conda command to install which I think you have already been using is

conda create -y -n sleap -c conda-forge -c nvidia -c sleap -c anaconda sleap=1.3.3
jverpeut commented 1 year ago

I had tried this installation in this way previously, but I started over and deleted miniforge and followed these steps.

Now I have these environments:

                         C:\ProgramData\Anaconda3
base                     C:\ProgramData\anaconda3
cytomod                  C:\ProgramData\anaconda3\envs\cytomod
py39                     C:\ProgramData\anaconda3\envs\py39
bsoid_v2                 C:\Users\jverpeut\.conda\envs\bsoid_v2
py36                     C:\Users\jverpeut\.conda\envs\py36
sleap                 *  C:\Users\jverpeut\.conda\envs\sleap

I am still seeing the same error as I originally had:

Saving config: C:\Users\jverpeut/.sleap/1.3.3/preferences.yaml
Traceback (most recent call last):
  File "C:\Users\jverpeut\.conda\envs\sleap\Scripts\sleap-label-script.py", line 33, in <module>
    sys.exit(load_entry_point('sleap==1.3.3', 'console_scripts', 'sleap-label')())
  File "C:\Users\jverpeut\.conda\envs\sleap\Scripts\sleap-label-script.py", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "C:\Users\jverpeut\.conda\envs\sleap\lib\site-packages\importlib_metadata\__init__.py", line 167, in load
    module = import_module(match.group('module'))
  File "C:\Users\jverpeut\.conda\envs\sleap\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\jverpeut\.conda\envs\sleap\lib\site-packages\sleap\gui\app.py", line 64, in <module>
    from sleap.gui.dialogs.metrics import MetricsTableDialog
  File "C:\Users\jverpeut\.conda\envs\sleap\lib\site-packages\sleap\gui\dialogs\metrics.py", line 11, in <module>
    from sleap.gui.dataviews import GenericTableModel, GenericTableView
  File "C:\Users\jverpeut\.conda\envs\sleap\lib\site-packages\sleap\gui\dataviews.py", line 35, in <module>
    class GenericTableModel(QtCore.QAbstractTableModel):
  File "C:\Users\jverpeut\.conda\envs\sleap\lib\site-packages\sleap\gui\dataviews.py", line 210, in GenericTableModel
    order: QtCore.Qt.SortOrder = QtCore.Qt.SortOrder.AscendingOrder,
AttributeError: type object 'SortOrder' has no attribute 'AscendingOrder'