mac install pytorch
# Python 3.x pip3 install torch torchvision --user
Here is what the above code is Doing:
1. Installing the latest version of pip
2. Installing the latest version of setuptools
3. Installing the latest version of wheel
4. Installing the latest version of PyTorch