Skip to content

Commit 76b2667

Browse files
fmassasoumith
authored andcommitted
Add note on README about OSX install and PyTorch 1.1 (#939)
1 parent 9ffeeb5 commit 76b2667

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ The torchvision package consists of popular datasets, model architectures, and c
1919
Installation
2020
============
2121

22+
TorchVision requires PyTorch 1.1 or newer.
23+
2224
Anaconda:
2325

2426
.. code:: bash
@@ -36,6 +38,8 @@ From source:
3638
.. code:: bash
3739
3840
python setup.py install
41+
# or, for OSX
42+
# MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install
3943
4044
4145
Image Backend

0 commit comments

Comments
 (0)