Add package name to YOLO checks errors (#16770)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
5dcaa0aa06
commit
28eb65694c
2 changed files with 2 additions and 2 deletions
|
|
@ -619,7 +619,7 @@ def collect_system_info():
|
|||
for r in parse_requirements(package="ultralytics"):
|
||||
try:
|
||||
current = metadata.version(r.name)
|
||||
is_met = "✅ " if check_version(current, str(r.specifier), hard=True) else "❌ "
|
||||
is_met = "✅ " if check_version(current, str(r.specifier), name=r.name, hard=True) else "❌ "
|
||||
except metadata.PackageNotFoundError:
|
||||
current = "(not installed)"
|
||||
is_met = "❌ "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue