torchvision · PyPI
pypi.org › project › torchvisionOct 21, 2021 · pip: pip install torchvision. From source: python setup.py install # or, for OSX # MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install. In case building TorchVision from source fails, install the nightly version of PyTorch following the linked guide on the contributing page and retry the install.