MCPcopy
hub / github.com/ultralytics/yolov5 / check_python

Function check_python

utils/general.py:364–366  ·  view source on GitHub ↗
(minimum='3.7.0')

Source from the content-addressed store, hash-verified

362
363
364def check_python(minimum='3.7.0'):
365 # Check current python version vs. required python version
366 check_version(platform.python_version(), minimum, name='Python ', hard=True)
367
368
369def check_version(current='0.0.0', minimum='0.0.0', name='version ', pinned=False, hard=False, verbose=False):

Callers 1

check_requirementsFunction · 0.85

Calls 1

check_versionFunction · 0.85

Tested by

no test coverage detected