mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
Remove Python 3.8 from README (#139089)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/139089 Approved by: https://github.com/clee2000, https://github.com/malfet
This commit is contained in:
parent
475ba1df8d
commit
817e57f832
12
README.md
12
README.md
|
|
@ -160,7 +160,7 @@ They require JetPack 4.2 and above, and [@dusty-nv](https://github.com/dusty-nv)
|
|||
|
||||
#### Prerequisites
|
||||
If you are installing from source, you will need:
|
||||
- Python 3.8 or later (for Linux, Python 3.8.1+ is needed)
|
||||
- Python 3.9 or later
|
||||
- A compiler that fully supports C++17, such as clang or gcc (gcc 9.4.0 or newer is required, on Linux)
|
||||
- Visual Studio or Visual Studio Build Tool on Windows
|
||||
|
||||
|
|
@ -295,16 +295,6 @@ export CMAKE_PREFIX_PATH="${CONDA_PREFIX:-'$(dirname $(which conda))/../'}:${CMA
|
|||
python setup.py develop
|
||||
```
|
||||
|
||||
> _Aside:_ If you are using [Anaconda](https://www.anaconda.com/distribution/#download-section), you may experience an error caused by the linker:
|
||||
>
|
||||
> ```plaintext
|
||||
> build/temp.linux-x86_64-3.7/torch/csrc/stub.o: file not recognized: file format not recognized
|
||||
> collect2: error: ld returned 1 exit status
|
||||
> error: command 'g++' failed with exit status 1
|
||||
> ```
|
||||
>
|
||||
> 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+.
|
||||
|
||||
**On macOS**
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user