Download Latest Version 0.12.6 source code.zip (43.7 MB) Google Add to Preferred Sources
Home / 0.12.4
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-08-01 877 Bytes
SAHI 0.12.4 - CLI Dependency Fix source code.tar.gz 2026-08-01 43.5 MB
SAHI 0.12.4 - CLI Dependency Fix source code.zip 2026-08-01 43.6 MB
Totals: 3 Items   87.1 MB 0

A patch release that fixes the sahi command line interface, which was broken on any installation that did not already have matplotlib present.

🐛 Fixes

  • matplotlib is now a declared dependency (#1414). sahi.cli imports sahi.scripts.coco_error_analysis, which imports matplotlib at module level, but matplotlib was never listed in [project].dependencies or in any extra. Because the import is eager, every sahi command failed on a clean install, including ones unrelated to plotting such as sahi version:

$ sahi version File ".../sahi/cli.py", line 9, in <module> from sahi.scripts.coco_error_analysis import analyse File ".../sahi/scripts/coco_error_analysis.py", line 13, in <module> import matplotlib ModuleNotFoundError: No module named 'matplotlib'

Source: README.md, updated 2026-08-01