Update `check_python(minimum=3.6.2)` (#3548)
This commit is contained in:
parent
ef0b5c9d29
commit
f8ec71e1c2
|
|
@ -136,7 +136,7 @@ def check_git_status(err_msg=', for updates see https://github.com/ultralytics/y
|
|||
print(f'{e}{err_msg}')
|
||||
|
||||
|
||||
def check_python(minimum='3.7.0', required=True):
|
||||
def check_python(minimum='3.6.2', required=True):
|
||||
# Check current python version vs. required python version
|
||||
current = platform.python_version()
|
||||
result = pkg.parse_version(current) >= pkg.parse_version(minimum)
|
||||
|
|
|
|||
Loading…
Reference in New Issue