glenn-jocher
commited on
Commit
•
f8ec71e
1
Parent(s):
ef0b5c9
Update `check_python(minimum=3.6.2)` (#3548)
Browse files- utils/general.py +1 -1
utils/general.py
CHANGED
@@ -136,7 +136,7 @@ def check_git_status(err_msg=', for updates see https://github.com/ultralytics/y
|
|
136 |
print(f'{e}{err_msg}')
|
137 |
|
138 |
|
139 |
-
def check_python(minimum='3.
|
140 |
# Check current python version vs. required python version
|
141 |
current = platform.python_version()
|
142 |
result = pkg.parse_version(current) >= pkg.parse_version(minimum)
|
|
|
136 |
print(f'{e}{err_msg}')
|
137 |
|
138 |
|
139 |
+
def check_python(minimum='3.6.2', required=True):
|
140 |
# Check current python version vs. required python version
|
141 |
current = platform.python_version()
|
142 |
result = pkg.parse_version(current) >= pkg.parse_version(minimum)
|