You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[GUI auto-update] Updating to napari-deeplabcut v0.4.0 with uv on py3.12+ may pull the wrong numpy version for numba #3534
For users accepting the update prompt in the DeepLabCut GUI and updating the napari plugin only, DeepLabCut may report: ImportError: Numba needs NumPy 2.4 or less. Got NumPy 2.5.
Affects Python 3.12 environments with uv installed.
Environments without uv are not affected.
Fix
Activate the environment you run DeepLabCut from, then run: uv pip install "numpy<2.5" "opencv-python-headless<5"
Do not install numpy<2 instead.
Until this is fixed
Update the labeling plugin from a terminal rather than the GUI prompt: python -m pip install -U napari-deeplabcut
Cause
The GUI updater runs uv pip install -U <package>.
uv's -U also upgrades every dependency of the requested package, and ignores constraints held by installed packages outside that request.
Updating napari-deeplabcut therefore moved NumPy past what the installed numba supports.
Activity