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
cli - Missing dependency 'click' in default installation #594
Describe the bug
In a fresh install with uv tool install, the executable does not start because of missing 'click' dependency
To Reproduce
install using uv tool install deepdiff
run deep --help or any valid subcommand
$ uv tool install deepdiff
Resolved 2 packages in 222ms
Installed 2 packages in 8ms
+ deepdiff==9.0.0
+ orderly-set==5.5.0
Installed 1 executable: deep
$ deep
Traceback (most recent call last):
File "/home/alorence/.local/bin/deep", line 4, in<module>
from deepdiff.commands import cli
File "/home/alorence/.local/share/uv/tools/deepdiff/lib/python3.14/site-packages/deepdiff/commands.py", line 1, in<module>
import click
ModuleNotFoundError: No module named 'click'
Expected behavior
The command line interface can be used globally on the machine
OS, DeepDiff version and Python version (please complete the following information):
OS: WSL (irrelevant)
Version: unknown
Python Version 3.14.4
DeepDiff Version 9.0.0
Additional context
The issue can be easily fixed by telling uv to install click in the same environment:
$ uv tool install --with click deepdiff
Resolved 3 packages in 5ms
Installed 3 packages in 11ms
+ click==8.3.2
+ deepdiff==9.0.0
+ orderly-set==5.5.0
Installed 1 executable: deep
$ deep
Usage: deep [OPTIONS] COMMAND [ARGS]...
A simple command line tool.
Options:
--help Show this message and exit.
Commands:
diff Deep Diff Commandline
extract Deep Extract Commandline
grep Deep Grep Commandline
patch Deep Patch Commandline
Activity
alorence commentedon Apr 15, 2026
By the way, I would like to thank you for developing this amazing tool 👍🏼
fix(cli): give actionable error when 'deep' runs without cli extra
Merge pull request #608 from uttam12331/fix/cli-missing-click-594