mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
update README to install pyyaml from conda (#1231)
This commit is contained in:
committed by
Soumith Chintala
parent
4e693d12ab
commit
ade105fb7c
@ -178,13 +178,12 @@ conda install -c soumith magma-cuda75 # or magma-cuda80 if CUDA 8.0
|
||||
On OSX
|
||||
```bash
|
||||
export CMAKE_PREFIX_PATH=[anaconda root directory]
|
||||
conda install numpy setuptools cmake cffi
|
||||
conda install numpy pyyaml setuptools cmake cffi
|
||||
```
|
||||
|
||||
#### Install PyTorch
|
||||
```bash
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.9 # if OSX
|
||||
pip install -r requirements.txt
|
||||
python setup.py install
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user