I initially tried pip3 install torch
but when I import torch in jupyter notebook it said that no module found. I then used conda to install it and import worked. Does anyone knows why would pip fail for any specific reasons?
There are detailed pip commands on the Get started page, maybe the download.pytorch.org-hosted versions for CUDA 10 or CPU work better. I always install PyTorch via pip3
.
Best regards
Thomas