Repository navigation
Description
Is there an existing issue for this?
- I have searched the existing issues
Operating System
Windows 11 Enterprise v25H2
DeepLabCut version
3.0.0rc13
What engine are you using?
pytorch
DeepLabCut mode
multi animal
Device type
Intel (R) UHD Graphics
CUDA 12.8
Bug description 🐛
Deeplabcut failed to launch after installation due to pandas issue (see below).
Steps To Reproduce
There are a maze of different installations out there (the main .yaml from github, the instructions from ) that yield different issues with dependency version conflicts (so far, PIL, pydantic, etc.) Some use python 3.10, others 3.12. I'm hoping for the uv installation to be offered soon to avoid these many conflicts. Here's the farthest I've gone after 6+ attempts, including trying to chase down fixes for the various issues.
I followed the following instructions step-by-step from https://github.com/DeepLabCut/DeepLabCut/blob/main/docs/installation.md
conda create -n DEEPLABCUT python=3.12
conda activate DEEPLABCUT
conda install -c conda-forge pytables==3.8.0
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu128
python -c "import torch; print(torch.cuda.is_available())"
Returned "True"
pip install --pre deeplabcut[gui]
Everything installed without errors, but when I try to launch DLC
python -m deeplabcut
I get the error message in the log output below.
I would appreciate advice on how to get either a set of stable installation instructions, or else how to address this issue with pandas.
Thanks!
Suzanne Amador Kane
Relevant log output
Loading DLC 3.0.0rc13...
DLC loaded in light mode; you cannot use any GUI (labeling, relabeling and standalone GUI)
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\__init__.py", line 34, in <module>
from deeplabcut.create_project import (
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\create_project\__init__.py", line 12, in <module>
from deeplabcut.create_project.demo_data import load_demo_data
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\create_project\demo_data.py", line 17, in <module>
from deeplabcut.utils import auxiliaryfunctions
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\utils\__init__.py", line 11, in <module>
from deeplabcut.utils.auxfun_multianimal import *
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\utils\auxfun_multianimal.py", line 32, in <module>
import pandas as pd
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\pandas\__init__.py", line 56, in <module>
import pandas.core.config_init # pyright: ignore[reportUnusedImport] # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\pandas\core\config_init.py", line 31, in <module>
from pandas.errors import Pandas4Warning
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\pandas\errors\__init__.py", line 12, in <module>
from pandas._libs.tslibs import (
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\pandas\_libs\__init__.py", line 18, in <module>
from pandas._libs.interval import Interval
File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
File "pandas/_libs/hashtable.pyx", line 1, in init pandas._libs.hashtable
File "pandas/_libs/missing.pyx", line 40, in init pandas._libs.missing
AttributeError: partially initialized module 'pandas' has no attribute '_pandas_datetime_CAPI' (most likely due to a circular import)Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity
C-Achard commentedon Feb 25, 2026
Hello @amadorkane,
You’ve indeed hit a known install issue (e.g. #3111, #3162) around pandas & tables/pytables dependency resolution, which I believe is the cause of your current install errors.
How to fix
With uv
I'd recommend using the latest procedure in #3184, as it should quickly result in a working install.
If you do not mind cloning a specific branch and using uv, please do the following :
Note
Remember to activate the .venv in subsequent sessions/shells.
Unlike conda it is tied to the specific .venv folder you created in 3),
so you must be in the same directory as the .venv to activate it again
With conda
If you'd prefer a conda-specific solution, let me know!
Context & related
We’re currently addressing this issue in several places, namely this is partially fixed in #3184, which introduces uv installation and a unified pyproject.toml.
#3213 and #3214 should also help for conda installs specifically.
The documentation will also be updated once these fixes are shipped, sorry for the inconvenience.
The underlying fix is, in general, letting pandas install tables by using
pandas[hdf5,performance]>=2.2,<3.This is fully handled by the UV install so you will not require extra steps, besides the initial uv setup overhead.
Please let us know if this newest install procedure works for you, or if there is any further help I can provide !
Best,
Cyril
amadorkane commentedon Feb 25, 2026
Thanks for getting to this and suggesting a new installation so fast! I have uv installed now. Trying out step 2. above. Cloned the repo ok,
but then get this error message:
(base) C:\Users\samador\DeepLabCut>git checkout deruyter92/arash_and_jaap/uv_packaging
error: pathspec 'deruyter92/arash_and_jaap/uv_packaging' did not match any file(s) known to git
Any ideas what's the issue? Doesn't seem like it's my system -- is there a missing line or a typo somewhere?
Suzanne
deruyter92 commentedon Feb 25, 2026
Apologies. The fix currently comes from a forked repository. Instead of cloning the main repository, step 2 currently only works if you clone the forked repository:
Note that this is a temporary solution, until the PR is merged. Of course we would prefer you to use the main repository.
deruyter92 commentedon Feb 25, 2026
For completeness:
The original installation problem in conda can also be fixed by not installing tables via conda (in contrast to the installation instructions), but let it be handled by pandas as extra. So in your conda environment only run:
A note for me and other developers: this PR #3214 aims to address the same problem as a bridging PR until the uv_packaging PR is merged. Links to similar issues: #3111 #3162
C-Achard commentedon Feb 25, 2026
Thanks for the quick reply @deruyter92, indeed it is a fork. I've edited the suggested fix, sorry
C-Achard commentedon Feb 25, 2026
In addition, for GPU support @amadorkane please note you may need to install the proper CUDA binaries before installing with uv:
uv pip install -e .)uv pip installinstead ofpip install, otherwise the usage is the same(This has to be done irrespective of uv/pip/conda for pytorch to be able to run on your GPU)
amadorkane commentedon Feb 25, 2026
Thanks for the updates! I'm working my way through them now.
I get the error when trying to install pandas as advised:
pip install pandas[hdf5,performance]<3.0
The system cannot find the file specified.
However, it installs successfully without the <3.0, so I tried doing that and then installing DLC:
pip install --pre deeplabcut[gui]
The GUI briefly opened and then this error message appeared:
(DEEPLABCUT) C:\Users\samador>python -m deeplabcut
Loading DLC 3.0.0rc13...
Starting GUI...
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut_main.py", line 33, in
main()
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut_main.py", line 25, in main
launch_dlc()
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\gui\launch_script.py", line 63, in launch_dlc
from deeplabcut.gui.window import MainWindow
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\gui\window.py", line 29, in
from napari_deeplabcut import misc
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari_deeplabcut_init_.py", line 33, in
from .writer import write_hdf, write_masks
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari_deeplabcut_writer.py", line 7, in
from napari.layers import Shapes
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\layers_init.py", line 9, in
from napari.layers.base import Layer
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\layers\base_init_.py", line 2, in
from napari.layers.base.base import Layer, no_op
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\layers\base\base.py", line 14, in
from npe2 import plugin_manager as pm
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\npe2_init_.py", line 11, in
from ._dynamic_plugin import DynamicPlugin
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\npe2_dynamic_plugin.py", line 16, in
from ._plugin_manager import PluginManager
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\npe2_plugin_manager.py", line 21, in
from .command_registry import CommandRegistry
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\npe2_command_registry.py", line 10, in
from .manifest import utils
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\npe2\manifest_init.py", line 1, in
from .package_metadata import PackageMetadata
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\npe2\manifest_package_metadata.py", line 4, in
from pydantic import BaseModel, ConfigDict, Field, constr, model_validator
ImportError: cannot import name 'model_validator' from 'pydantic' (C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\pydantic_init.cp312-win_amd64.pyd). Did you mean: 'root_validator'?
amadorkane commentedon Feb 25, 2026
When I tried using the updated instructions with cloning the forked github repository, it gave the same error as before:
amadorkane commentedon Feb 25, 2026
Checking I'm using the correct order of pytorch and DLC install via pip:
Correct?
Thanks very much for your help!
Suzanne
deruyter92 commentedon Feb 26, 2026
Hi Suzanne,
Sorry to hear that you are still experiencing installation problems. Based on your comments you are doing everything correctly. The traceback that you printed indicates a problem with another dependency,
npe2.I think your current issue might be related to #3205, meaning that
npe2specifies a wrong version ofpydantic. Possibly the problem can be resolved by either one (or the combination of) these commands:please if you are still experiencing problems, print the output of
so we can see which versions of the packages you have installed.
Normally the installation of DeepLabCut shouldn't be this convolved, we are working on making the installation easier. (Unfortunately the packaging issue of npe2 is outside our control, but the developers recently solved the problem so installing the newest version should fix the problem).
Hope this helps!
amadorkane commentedon Feb 26, 2026
Thanks for these suggestions, Jaap. I don't recall it being so hard to do the installation when we used DLC several years back, so I'm surprised too.
Today I did the following. Short story, looks like now there is a conflict with napari version:
After uninstalling DLC, I ran these commands in this order in an Anaconda Prompt window, opened as admin (note I figured out how to install the correct version of pandas since last time, so that's now corrected as well):
This failed with the same error message as before, so I looked to see if it really had the right versions installed, checking versions using list.
Before the deeplabcut[gui] installation, I see the correct versions of pandas, npe2 and pydantic.
After the deeplabcut[gui] installation, pandas was still correct but the correct npe2 and pydantic versions were replaced with npe2 0.8.0rc0 and pydantic 1.10.26.
To fix this, I ran the npe2 and pydantic pip install lines again (i.e., after the deeplabcut[gui] installation with pip):
See below for an error message when it installed npe2.
Checking versions using list, I now see npe2 0.8.1 and pydantic 2.12.5
Tried to launch DLC again with the correct versions of pandas, npe2, and pydantic (I did not reinstall deeplabcut[gui] because that step installed incorrect versions of npe2 and pydantic), and got the following error message.
Loading DLC 3.0.0rc13...
Starting GUI...
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut_main.py", line 33, in
main()
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut_main.py", line 25, in main
launch_dlc()
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\gui\launch_script.py", line 63, in launch_dlc
from deeplabcut.gui.window import MainWindow
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\deeplabcut\gui\window.py", line 29, in
from napari_deeplabcut import misc
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari_deeplabcut_init_.py", line 26, in
from ._reader import (
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari_deeplabcut_reader.py", line 14, in
from napari.types import LayerData
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\types.py", line 206, in
_register_types_with_magicgui()
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\types.py", line 166, in register_types_with_magicgui
from napari.utils import magicgui as mgui
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\utils_init.py", line 2, in
from napari.utils.colormaps import Colormap
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\utils\colormaps_init.py", line 2, in
from napari.utils.colormaps.colormap import Colormap
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\utils\colormaps\colormap.py", line 9, in
from napari.utils.events import EventedModel
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\utils\events_init.py", line 17, in
from napari.utils.events.evented_model import EventedModel
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\napari\utils\events\evented_model.py", line 66, in
class EventedMetaclass(main.ModelMetaclass):
^^^^^^^^^^^^^^^^^^^
File "C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages\pydantic_migration.py", line 314, in wrapper
raise AttributeError(f'module {module!r} has no attribute {name!r}')
AttributeError: module 'pydantic.main' has no attribute 'ModelMetaclass'
When installing npe2, I got this error message:
Collecting npe2==0.8.1
Using cached npe2-0.8.1-py3-none-any.whl.metadata (6.7 kB)
Requirement already satisfied: build>=1 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from npe2==0.8.1) (1.4.0)
Requirement already satisfied: platformdirs>=4.3.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from npe2==0.8.1) (4.9.2)
Requirement already satisfied: psygnal>=0.3.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from npe2==0.8.1) (0.15.1)
Collecting pydantic-extra-types>=2.8 (from npe2==0.8.1)
Using cached pydantic_extra_types-2.11.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pydantic>=2.8 (from npe2==0.8.1)
Using cached pydantic-2.12.5-py3-none-any.whl.metadata (90 kB)
Requirement already satisfied: pyyaml>=6.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from npe2==0.8.1) (6.0.3)
Requirement already satisfied: rich>=14.0.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from npe2==0.8.1) (14.3.3)
Requirement already satisfied: tomli-w>=1.0.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from npe2==0.8.1) (1.2.0)
Requirement already satisfied: typer>=0.15.4 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from npe2==0.8.1) (0.24.1)
Requirement already satisfied: packaging>=24.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from build>=1->npe2==0.8.1) (25.0)
Requirement already satisfied: pyproject_hooks in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from build>=1->npe2==0.8.1) (1.2.0)
Requirement already satisfied: colorama in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from build>=1->npe2==0.8.1) (0.4.6)
Requirement already satisfied: annotated-types>=0.6.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from pydantic>=2.8->npe2==0.8.1) (0.7.0)
Requirement already satisfied: pydantic-core==2.41.5 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from pydantic>=2.8->npe2==0.8.1) (2.41.5)
Requirement already satisfied: typing-extensions>=4.14.1 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from pydantic>=2.8->npe2==0.8.1) (4.15.0)
Requirement already satisfied: typing-inspection>=0.4.2 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from pydantic>=2.8->npe2==0.8.1) (0.4.2)
Requirement already satisfied: markdown-it-py>=2.2.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from rich>=14.0.0->npe2==0.8.1) (4.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from rich>=14.0.0->npe2==0.8.1) (2.19.2)
Requirement already satisfied: mdurl~=0.1 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from markdown-it-py>=2.2.0->rich>=14.0.0->npe2==0.8.1) (0.1.2)
Requirement already satisfied: click>=8.2.1 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from typer>=0.15.4->npe2==0.8.1) (8.3.1)
Requirement already satisfied: shellingham>=1.3.0 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from typer>=0.15.4->npe2==0.8.1) (1.5.4)
Requirement already satisfied: annotated-doc>=0.0.2 in .\AppData\Local\anaconda3\envs\DEEPLABCUT\Lib\site-packages (from typer>=0.15.4->npe2==0.8.1) (0.0.4)
Using cached npe2-0.8.1-py3-none-any.whl (93 kB)
Using cached pydantic-2.12.5-py3-none-any.whl (463 kB)
Using cached pydantic_extra_types-2.11.0-py3-none-any.whl (74 kB)
Installing collected packages: pydantic, pydantic-extra-types, npe2
Attempting uninstall: pydantic
Found existing installation: pydantic 1.10.26
Uninstalling pydantic-1.10.26:
Successfully uninstalled pydantic-1.10.26
Attempting uninstall: pydantic-extra-types
Found existing installation: pydantic-extra-types 0.0.1
Uninstalling pydantic-extra-types-0.0.1:
Successfully uninstalled pydantic-extra-types-0.0.1
Attempting uninstall: npe2
Found existing installation: npe2 0.8.0rc0
Uninstalling npe2-0.8.0rc0:
Successfully uninstalled npe2-0.8.0rc0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
napari 0.4.18 requires pydantic<2,>=1.9.0, but you have pydantic 2.12.5 which is incompatible.
MMathisLab commentedon Feb 26, 2026
Maybe I missed this, but what version of napari are you using?
Re; easier a few years ago... indeed, things became harder to support on windows, napari isn't as well maintained, and torch changes rapidly (all not in our control). We are doing our best to continue to provide this free software, thanks for your patience ... 🙏🏼
amadorkane commentedon Feb 26, 2026
Here's the results of list. Jaap had asked for this, but I hadn't yet gotten around to pasting it in! That last message was so long I wanted to do it separately.
I hear you! This endless cycle of keeping up with various python dependencies was something I dealt with long ago when I maintained my own packages!
Thanks,
Suzanne
packages in environment at C:\Users\samador\AppData\Local\anaconda3\envs\DEEPLABCUT:
Name Version Build Channel
alabaster 0.7.16 pypi_0 pypi
albumentations 1.4.3 pypi_0 pypi
annotated-doc 0.0.4 pypi_0 pypi
annotated-types 0.7.0 pypi_0 pypi
anyio 4.12.1 pypi_0 pypi
app-model 0.2.8 pypi_0 pypi
appdirs 1.4.4 pypi_0 pypi
asttokens 3.0.1 pypi_0 pypi
attrs 25.4.0 pypi_0 pypi
babel 2.18.0 pypi_0 pypi
blosc2 4.0.0 pypi_0 pypi
bottleneck 1.6.0 pypi_0 pypi
build 1.4.0 pypi_0 pypi
bzip2 1.0.8 h2bbff1b_6
ca-certificates 2025.12.2 haa95532_0
cachey 0.2.1 pypi_0 pypi
certifi 2026.2.25 pypi_0 pypi
charset-normalizer 3.4.4 pypi_0 pypi
click 8.3.1 pypi_0 pypi
cloudpickle 3.1.2 pypi_0 pypi
colorama 0.4.6 pypi_0 pypi
comm 0.2.3 pypi_0 pypi
contourpy 1.3.3 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
dask 2026.1.2 pypi_0 pypi
dask-image 2025.11.0 pypi_0 pypi
debugpy 1.8.20 pypi_0 pypi
decorator 5.2.1 pypi_0 pypi
deeplabcut 3.0.0rc13 pypi_0 pypi
dlclibrary 0.0.11 pypi_0 pypi
docstring-parser 0.17.0 pypi_0 pypi
docutils 0.17.1 pypi_0 pypi
einops 0.8.2 pypi_0 pypi
executing 2.2.1 pypi_0 pypi
expat 2.7.4 hd7fb8db_0
filelock 3.20.0 pypi_0 pypi
filterpy 1.4.5 pypi_0 pypi
flexcache 0.3 pypi_0 pypi
flexparser 0.4 pypi_0 pypi
fonttools 4.61.1 pypi_0 pypi
freetype-py 2.5.1 pypi_0 pypi
fsspec 2025.12.0 pypi_0 pypi
h11 0.16.0 pypi_0 pypi
heapdict 1.0.1 pypi_0 pypi
hf-xet 1.3.1 pypi_0 pypi
hsluv 5.0.4 pypi_0 pypi
httpcore 1.0.9 pypi_0 pypi
httpx 0.28.1 pypi_0 pypi
huggingface-hub 1.5.0rc0 pypi_0 pypi
idna 3.11 pypi_0 pypi
imageio 2.37.2 pypi_0 pypi
imageio-ffmpeg 0.6.0 pypi_0 pypi
imagesize 1.4.1 pypi_0 pypi
imgaug 0.4.0 pypi_0 pypi
in-n-out 0.2.1 pypi_0 pypi
ipykernel 6.31.0 pypi_0 pypi
ipython 9.10.0 pypi_0 pypi
ipython-pygments-lexers 1.1.1 pypi_0 pypi
jedi 0.19.2 pypi_0 pypi
jinja2 3.1.6 pypi_0 pypi
joblib 1.5.3 pypi_0 pypi
jsonschema 4.26.0 pypi_0 pypi
jsonschema-specifications 2025.9.1 pypi_0 pypi
jupyter-client 8.8.0 pypi_0 pypi
jupyter-core 5.9.1 pypi_0 pypi
kiwisolver 1.4.10rc0 pypi_0 pypi
lazy-loader 0.4 pypi_0 pypi
libexpat 2.7.4 hd7fb8db_0
libffi 3.4.4 hd77b12b_1
libzlib 1.3.1 h02ab6af_0
llvmlite 0.46.0 pypi_0 pypi
locket 1.0.0 pypi_0 pypi
magicgui 0.10.1 pypi_0 pypi
markdown-it-py 4.0.0 pypi_0 pypi
markupsafe 3.0.2 pypi_0 pypi
matplotlib 3.8.4 pypi_0 pypi
matplotlib-inline 0.2.1 pypi_0 pypi
mdurl 0.1.2 pypi_0 pypi
mpmath 1.3.0 pypi_0 pypi
msgpack 1.1.2 pypi_0 pypi
napari 0.4.18 pypi_0 pypi
napari-console 0.1.4 pypi_0 pypi
napari-deeplabcut 0.2.1.7 pypi_0 pypi
napari-plugin-engine 0.2.1 pypi_0 pypi
napari-svg 0.2.1 pypi_0 pypi
natsort 8.4.0 pypi_0 pypi
ndindex 1.10.1 pypi_0 pypi
nest-asyncio 1.6.0 pypi_0 pypi
networkx 3.6.1 pypi_0 pypi
npe2 0.8.1 pypi_0 pypi
numba 0.64.0 pypi_0 pypi
numexpr 2.14.1 pypi_0 pypi
numpy 1.26.4 pypi_0 pypi
numpydoc 1.5.0 pypi_0 pypi
opencv-python 4.11.0.86 pypi_0 pypi
opencv-python-headless 4.11.0.86 pypi_0 pypi
openssl 3.0.19 hbb43b14_0
packaging 25.0 py312haa95532_1
pandas 2.3.3 pypi_0 pypi
parso 0.8.6 pypi_0 pypi
partd 1.4.2 pypi_0 pypi
patsy 1.0.2 pypi_0 pypi
pillow 12.0.0 pypi_0 pypi
pims 0.7 pypi_0 pypi
pint 0.25.2 pypi_0 pypi
pip 26.0.1 pyhc872135_0
platformdirs 4.9.2 pypi_0 pypi
pooch 1.9.0 pypi_0 pypi
prompt-toolkit 3.0.52 pypi_0 pypi
psutil 7.2.2 pypi_0 pypi
psygnal 0.15.1 pypi_0 pypi
pure-eval 0.2.3 pypi_0 pypi
py-cpuinfo 9.0.0 pypi_0 pypi
pyarrow 23.0.1 pypi_0 pypi
pycocotools 2.0.11 pypi_0 pypi
pyconify 0.2.1 pypi_0 pypi
pydantic 2.12.5 pypi_0 pypi
pydantic-compat 0.1.2 pypi_0 pypi
pydantic-core 2.41.5 pypi_0 pypi
pydantic-extra-types 2.11.0 pypi_0 pypi
pygments 2.19.2 pypi_0 pypi
pyopengl 3.1.10 pypi_0 pypi
pyparsing 3.3.2 pypi_0 pypi
pyproject-hooks 1.2.0 pypi_0 pypi
pyside6 6.10.2 pypi_0 pypi
pyside6-addons 6.10.2 pypi_0 pypi
pyside6-essentials 6.10.2 pypi_0 pypi
python 3.12.12 h716150d_1
python-dateutil 2.9.0.post0 pypi_0 pypi
pytz 2025.2 pypi_0 pypi
pyyaml 6.0.3 pypi_0 pypi
pyzmq 27.1.0 pypi_0 pypi
qdarkstyle 3.1 pypi_0 pypi
qtconsole 5.7.1 pypi_0 pypi
qtpy 2.4.3 pypi_0 pypi
referencing 0.37.0 pypi_0 pypi
requests 2.32.5 pypi_0 pypi
rich 14.3.3 pypi_0 pypi
rpds-py 0.30.0 pypi_0 pypi
ruamel-yaml 0.19.1 pypi_0 pypi
safetensors 0.7.0 pypi_0 pypi
scikit-image 0.26.0 pypi_0 pypi
scikit-learn 1.8.0 pypi_0 pypi
scipy 1.17.1 pypi_0 pypi
setuptools 80.10.2 py312haa95532_0
shapely 2.1.2 pypi_0 pypi
shellingham 1.5.4 pypi_0 pypi
shiboken6 6.10.2 pypi_0 pypi
six 1.17.0 pypi_0 pypi
slicerator 1.1.0 pypi_0 pypi
snowballstemmer 3.0.1 pypi_0 pypi
sphinx 4.5.0 pypi_0 pypi
sphinxcontrib-applehelp 2.0.0 pypi_0 pypi
sphinxcontrib-devhelp 2.0.0 pypi_0 pypi
sphinxcontrib-htmlhelp 2.1.0 pypi_0 pypi
sphinxcontrib-jsmath 1.0.1 pypi_0 pypi
sphinxcontrib-qthelp 2.0.0 pypi_0 pypi
sphinxcontrib-serializinghtml 2.0.0 pypi_0 pypi
sqlite 3.51.1 hda9a48d_0
stack-data 0.6.3 pypi_0 pypi
statsmodels 0.14.6 pypi_0 pypi
superqt 0.7.8 pypi_0 pypi
sympy 1.14.0 pypi_0 pypi
tables 3.11.0 pypi_0 pypi
threadpoolctl 3.6.0 pypi_0 pypi
tifffile 2026.2.24 pypi_0 pypi
timm 1.0.25 pypi_0 pypi
tk 8.6.15 hf199647_0
tomli-w 1.2.0 pypi_0 pypi
toolz 1.1.0 pypi_0 pypi
torch 2.10.0+cu128 pypi_0 pypi
torchvision 0.25.0+cu128 pypi_0 pypi
tornado 6.5.4 pypi_0 pypi
tqdm 4.67.3 pypi_0 pypi
traitlets 5.14.3 pypi_0 pypi
typer 0.24.1 pypi_0 pypi
typing-extensions 4.15.0 pypi_0 pypi
typing-inspection 0.4.2 pypi_0 pypi
tzdata 2025.3 pypi_0 pypi
ucrt 10.0.22621.0 haa95532_0
urllib3 2.6.3 pypi_0 pypi
vc 14.3 h2df5915_10
vc14_runtime 14.44.35208 h4927774_10
vispy 0.12.2 pypi_0 pypi
vs2015_runtime 14.44.35208 ha6b5a95_10
wcwidth 0.6.0 pypi_0 pypi
wheel 0.46.3 py312haa95532_0
wrapt 2.1.1 pypi_0 pypi
xz 5.6.4 h4754444_1
zlib 1.3.1 h02ab6af_0
deruyter92 commentedon Feb 26, 2026
Hi Suzanne, thanks for posting.
Based on the last line of your traceback, it seems that you somehow ended up with an old version of Napari.
Quick try
For a fast-and-dirty solution, you could try installing the newest napari (0.6.6), but you might encounter more installation conflicts...
Alternative solution:
Tracing it all the way back to the root, I think it is best to do the following
start in a clean conda environment, where you install
pandas[hdf5, performance]first and then the newest version ofnapari-deeplabcut.Verify that this resulted in the installation of dependencies (if not install manually in this order):
napari>= 0.6.6npe2>= 0.8.1pydantic> 2Install the prerelease of
deeplabcutlive[gui]Please keep us posted about the results.
amadorkane commentedon Feb 26, 2026
Hi Jaap,
Thanks for bearing with us (my student who will be taking over on DLC once we install it has the same issues on her laptop):
Starting from my previous installation, I tried your first suggestion 1. above:
THIS WORKED!!!! I am ridiculously happy to see the GUI start up page!!!
Documenting everything that worked so we have a record of the steps...
Starting my first 2026 project now...tracking spiders running on complex terrain of all sorts.
Thanks too everyone who helped us work through this!
Suzanne
deruyter92 commentedon Feb 28, 2026
@amadorkane very glad that you managed to get it working!
I am keeping this issue open until the installation procedure for DeepLabCut is resolved. (For instance, by #3184 or #3214 or other PRs).
Feel free to unsubscribe from any notifications of course!
amadorkane commentedon Mar 2, 2026
Here's my final working installation:
I uninstalled the old version before doing the following.
In the Anaconda Prompt window (opened using aright-click so you are running as administrator), enter commands indicated by > in the order given below -- order is very important!!!
I a few minutes I'll also post the list of dependencies after doing the above installation
amadorkane commentedon Mar 2, 2026
Here's my complete list of dependencies for the working installation:
(deeplabcut) >conda list
packages in environment at C:\Users\samador\AppData\Local\anaconda3\envs\deeplabcut:
Name Version Build Channel
alabaster 0.7.16 pypi_0 pypi
albumentations 1.4.3 pypi_0 pypi
annotated-doc 0.0.4 pypi_0 pypi
annotated-types 0.7.0 pypi_0 pypi
anyio 4.12.1 pypi_0 pypi
app-model 0.2.8 pypi_0 pypi
appdirs 1.4.4 pypi_0 pypi
asttokens 3.0.1 pypi_0 pypi
attrs 25.4.0 pypi_0 pypi
babel 2.18.0 pypi_0 pypi
blosc2 4.0.0 pypi_0 pypi
bottleneck 1.6.0 pypi_0 pypi
build 1.4.0 pypi_0 pypi
bzip2 1.0.8 h2bbff1b_6
ca-certificates 2025.12.2 haa95532_0
cachey 0.2.1 pypi_0 pypi
certifi 2026.2.25 pypi_0 pypi
charset-normalizer 3.4.4 pypi_0 pypi
click 8.3.1 pypi_0 pypi
cloudpickle 3.1.2 pypi_0 pypi
colorama 0.4.6 pypi_0 pypi
comm 0.2.3 pypi_0 pypi
contourpy 1.3.3 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
dask 2026.1.2 pypi_0 pypi
dask-image 2025.11.0 pypi_0 pypi
debugpy 1.8.20 pypi_0 pypi
decorator 5.2.1 pypi_0 pypi
deeplabcut 3.0.0rc13 pypi_0 pypi
dlclibrary 0.0.11 pypi_0 pypi
docstring-parser 0.17.0 pypi_0 pypi
docutils 0.17.1 pypi_0 pypi
einops 0.8.2 pypi_0 pypi
executing 2.2.1 pypi_0 pypi
expat 2.7.4 hd7fb8db_0
filelock 3.20.0 pypi_0 pypi
filterpy 1.4.5 pypi_0 pypi
flexcache 0.3 pypi_0 pypi
flexparser 0.4 pypi_0 pypi
fonttools 4.61.1 pypi_0 pypi
freetype-py 2.5.1 pypi_0 pypi
fsspec 2025.12.0 pypi_0 pypi
h11 0.16.0 pypi_0 pypi
heapdict 1.0.1 pypi_0 pypi
hf-xet 1.3.1 pypi_0 pypi
hsluv 5.0.4 pypi_0 pypi
httpcore 1.0.9 pypi_0 pypi
httpx 0.28.1 pypi_0 pypi
huggingface-hub 1.5.0rc0 pypi_0 pypi
idna 3.11 pypi_0 pypi
imageio 2.37.2 pypi_0 pypi
imageio-ffmpeg 0.6.0 pypi_0 pypi
imagesize 1.4.1 pypi_0 pypi
imgaug 0.4.0 pypi_0 pypi
in-n-out 0.2.1 pypi_0 pypi
ipykernel 6.31.0 pypi_0 pypi
ipython 9.10.0 pypi_0 pypi
ipython-pygments-lexers 1.1.1 pypi_0 pypi
jedi 0.19.2 pypi_0 pypi
jinja2 3.1.6 pypi_0 pypi
joblib 1.5.3 pypi_0 pypi
jsonschema 4.26.0 pypi_0 pypi
jsonschema-specifications 2025.9.1 pypi_0 pypi
jupyter-client 8.8.0 pypi_0 pypi
jupyter-core 5.9.1 pypi_0 pypi
kiwisolver 1.4.10rc0 pypi_0 pypi
lazy-loader 0.4 pypi_0 pypi
libexpat 2.7.4 hd7fb8db_0
libffi 3.4.4 hd77b12b_1
libzlib 1.3.1 h02ab6af_0
llvmlite 0.46.0 pypi_0 pypi
locket 1.0.0 pypi_0 pypi
magicgui 0.10.1 pypi_0 pypi
markdown-it-py 4.0.0 pypi_0 pypi
markupsafe 3.0.2 pypi_0 pypi
matplotlib 3.8.4 pypi_0 pypi
matplotlib-inline 0.2.1 pypi_0 pypi
mdurl 0.1.2 pypi_0 pypi
mpmath 1.3.0 pypi_0 pypi
msgpack 1.1.2 pypi_0 pypi
napari 0.4.18 pypi_0 pypi
napari-console 0.1.4 pypi_0 pypi
napari-deeplabcut 0.2.1.7 pypi_0 pypi
napari-plugin-engine 0.2.1 pypi_0 pypi
napari-svg 0.2.1 pypi_0 pypi
natsort 8.4.0 pypi_0 pypi
ndindex 1.10.1 pypi_0 pypi
nest-asyncio 1.6.0 pypi_0 pypi
networkx 3.6.1 pypi_0 pypi
npe2 0.7.9 pypi_0 pypi
numba 0.64.0 pypi_0 pypi
numexpr 2.14.1 pypi_0 pypi
numpy 1.26.4 pypi_0 pypi
numpydoc 1.5.0 pypi_0 pypi
opencv-python 4.11.0.86 pypi_0 pypi
opencv-python-headless 4.11.0.86 pypi_0 pypi
openssl 3.0.19 hbb43b14_0
packaging 25.0 py312haa95532_1
pandas 2.3.3 pypi_0 pypi
parso 0.8.6 pypi_0 pypi
partd 1.4.2 pypi_0 pypi
patsy 1.0.2 pypi_0 pypi
pillow 12.0.0 pypi_0 pypi
pims 0.7 pypi_0 pypi
pint 0.25.2 pypi_0 pypi
pip 26.0.1 pyhc872135_0
platformdirs 4.9.2 pypi_0 pypi
pooch 1.9.0 pypi_0 pypi
prompt-toolkit 3.0.52 pypi_0 pypi
psutil 7.2.2 pypi_0 pypi
psygnal 0.15.1 pypi_0 pypi
pure-eval 0.2.3 pypi_0 pypi
py-cpuinfo 9.0.0 pypi_0 pypi
pyarrow 23.0.1 pypi_0 pypi
pycocotools 2.0.11 pypi_0 pypi
pyconify 0.2.1 pypi_0 pypi
pydantic 1.10.26 pypi_0 pypi
pydantic-compat 0.1.2 pypi_0 pypi
pydantic-core 2.41.5 pypi_0 pypi
pydantic-extra-types 2.11.0 pypi_0 pypi
pygments 2.19.2 pypi_0 pypi
pyopengl 3.1.10 pypi_0 pypi
pyparsing 3.3.2 pypi_0 pypi
pyproject-hooks 1.2.0 pypi_0 pypi
pyside6 6.10.2 pypi_0 pypi
pyside6-addons 6.10.2 pypi_0 pypi
pyside6-essentials 6.10.2 pypi_0 pypi
python 3.12.12 h716150d_1
python-dateutil 2.9.0.post0 pypi_0 pypi
pytz 2025.2 pypi_0 pypi
pywin32 311 pypi_0 pypi
pyyaml 6.0.3 pypi_0 pypi
pyzmq 27.1.0 pypi_0 pypi
qdarkstyle 3.1 pypi_0 pypi
qtconsole 5.7.1 pypi_0 pypi
qtpy 2.4.3 pypi_0 pypi
referencing 0.37.0 pypi_0 pypi
requests 2.32.5 pypi_0 pypi
rich 14.3.3 pypi_0 pypi
rpds-py 0.30.0 pypi_0 pypi
ruamel-yaml 0.19.1 pypi_0 pypi
safetensors 0.7.0 pypi_0 pypi
scikit-image 0.26.0 pypi_0 pypi
scikit-learn 1.8.0 pypi_0 pypi
scipy 1.17.1 pypi_0 pypi
setuptools 80.10.2 py312haa95532_0
shapely 2.1.2 pypi_0 pypi
shellingham 1.5.4 pypi_0 pypi
shiboken6 6.10.2 pypi_0 pypi
six 1.17.0 pypi_0 pypi
slicerator 1.1.0 pypi_0 pypi
snowballstemmer 3.0.1 pypi_0 pypi
sphinx 4.5.0 pypi_0 pypi
sphinxcontrib-applehelp 2.0.0 pypi_0 pypi
sphinxcontrib-devhelp 2.0.0 pypi_0 pypi
sphinxcontrib-htmlhelp 2.1.0 pypi_0 pypi
sphinxcontrib-jsmath 1.0.1 pypi_0 pypi
sphinxcontrib-qthelp 2.0.0 pypi_0 pypi
sphinxcontrib-serializinghtml 2.0.0 pypi_0 pypi
sqlite 3.51.1 hda9a48d_0
stack-data 0.6.3 pypi_0 pypi
statsmodels 0.14.6 pypi_0 pypi
superqt 0.7.8 pypi_0 pypi
sympy 1.14.0 pypi_0 pypi
tables 3.11.0 pypi_0 pypi
threadpoolctl 3.6.0 pypi_0 pypi
tifffile 2026.2.24 pypi_0 pypi
timm 1.0.25 pypi_0 pypi
tk 8.6.15 hf199647_0
tomli-w 1.2.0 pypi_0 pypi
toolz 1.1.0 pypi_0 pypi
torch 2.10.0+cu128 pypi_0 pypi
torchvision 0.25.0+cu128 pypi_0 pypi
tornado 6.5.4 pypi_0 pypi
tqdm 4.67.3 pypi_0 pypi
traitlets 5.14.3 pypi_0 pypi
typer 0.24.1 pypi_0 pypi
typing-extensions 4.15.0 pypi_0 pypi
typing-inspection 0.4.2 pypi_0 pypi
tzdata 2025.3 pypi_0 pypi
ucrt 10.0.22621.0 haa95532_0
urllib3 2.6.3 pypi_0 pypi
vc 14.3 h2df5915_10
vc14_runtime 14.44.35208 h4927774_10
vispy 0.12.2 pypi_0 pypi
vs2015_runtime 14.44.35208 ha6b5a95_10
wcwidth 0.6.0 pypi_0 pypi
wheel 0.46.3 py312haa95532_0
wrapt 2.1.1 pypi_0 pypi
xz 5.6.4 h4754444_1
zlib 1.3.1 h02ab6af_0