Appearance
It is recommended that you use Python 3.9 - 3.12.
pip3 install torch torchvision
Verification
import torch x = torch.rand(5, 3) print(x)