Bump Python>=3.8.0 (#11971)
This commit is contained in:
1 parent
1a779ee2b1
commit
493981cd3b
3 files changed
+3
-3
No files matched your search
@@ -31,7 +31,7 @@ jobs:
|
||||
|
||||
## Requirements
|
||||
|
||||
[**Python>=3.7.0**](https://www.python.org/) with all [requirements.txt](https://github.com/ultralytics/yolov5/blob/master/requirements.txt) installed including [**PyTorch>=1.8**](https://pytorch.org/get-started/locally/). To get started:
|
||||
[**Python>=3.8.0**](https://www.python.org/) with all [requirements.txt](https://github.com/ultralytics/yolov5/blob/master/requirements.txt) installed including [**PyTorch>=1.8**](https://pytorch.org/get-started/locally/). To get started:
|
||||
```bash
|
||||
git clone https://github.com/ultralytics/yolov5 # clone
|
||||
cd yolov5
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ pip install ultralytics
|
||||
<details open>
|
||||
<summary>安装</summary>
|
||||
|
||||
克隆 repo,并要求在 [**Python>=3.7.0**](https://www.python.org/) 环境中安装 [requirements.txt](https://github.com/ultralytics/yolov5/blob/master/requirements.txt) ,且要求 [**PyTorch>=1.8**](https://pytorch.org/get-started/locally/) 。
|
||||
克隆 repo,并要求在 [**Python>=3.8.0**](https://www.python.org/) 环境中安装 [requirements.txt](https://github.com/ultralytics/yolov5/blob/master/requirements.txt) ,且要求 [**PyTorch>=1.8**](https://pytorch.org/get-started/locally/) 。
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ultralytics/yolov5 # clone
|
||||
|
||||
+1
-1
@@ -381,7 +381,7 @@ def check_git_info(path='.'):
|
||||
return {'remote': None, 'branch': None, 'commit': None}
|
||||
|
||||
|
||||
def check_python(minimum='3.7.0'):
|
||||
def check_python(minimum='3.8.0'):
|
||||
# Check current python version vs. required python version
|
||||
check_version(platform.python_version(), minimum, name='Python ', hard=True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user