Skip to content

Commit 817e57f

Browse files
kit1980pytorchmergebot
authored andcommitted
Remove Python 3.8 from README (pytorch#139089)
Pull Request resolved: pytorch#139089 Approved by: https://github.com/clee2000, https://github.com/malfet
1 parent 475ba1d commit 817e57f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ They require JetPack 4.2 and above, and [@dusty-nv](https://github.com/dusty-nv)
160160

161161
#### Prerequisites
162162
If you are installing from source, you will need:
163-
- Python 3.8 or later (for Linux, Python 3.8.1+ is needed)
163+
- Python 3.9 or later
164164
- A compiler that fully supports C++17, such as clang or gcc (gcc 9.4.0 or newer is required, on Linux)
165165
- Visual Studio or Visual Studio Build Tool on Windows
166166

@@ -295,16 +295,6 @@ export CMAKE_PREFIX_PATH="${CONDA_PREFIX:-'$(dirname $(which conda))/../'}:${CMA
295295
python setup.py develop
296296
```
297297

298-
> _Aside:_ If you are using [Anaconda](https://www.anaconda.com/distribution/#download-section), you may experience an error caused by the linker:
299-
>
300-
> ```plaintext
301-
> build/temp.linux-x86_64-3.7/torch/csrc/stub.o: file not recognized: file format not recognized
302-
> collect2: error: ld returned 1 exit status
303-
> error: command 'g++' failed with exit status 1
304-
> ```
305-
>
306-
> This is caused by `ld` from the Conda environment shadowing the system `ld`. You should use a newer version of Python that fixes this issue. The recommended Python version is 3.8.1+.
307-
308298
**On macOS**
309299

310300
```bash

0 commit comments

Comments
 (0)