Remove duplicated installation for python dependencies. (#158339)

As the title stated.

The `Common` Section have installed the python dependencies
1b389025ba/README.md (L247)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158339
Approved by: https://github.com/ezyang
This commit is contained in:
FFFrog
2025-07-16 23:07:59 +08:00
committed by PyTorch MergeBot
parent eac777c4f4
commit aee8a2e985

View File

@ -294,14 +294,12 @@ Install PyTorch
```bash
export CMAKE_PREFIX_PATH="${CONDA_PREFIX:-'$(dirname $(which conda))/../'}:${CMAKE_PREFIX_PATH}"
python -m pip install -r requirements-build.txt
python -m pip install --no-build-isolation -v -e .
```
**On macOS**
```bash
python -m pip install -r requirements-build.txt
python -m pip install --no-build-isolation -v -e .
```