I installed pytorch via
conda install pytorch-cpu torchvision-cpu -c pytorch
And I also tried
pip3 install https://download.pytorch
Make sure that NumPy and Skipy libraries are installed before installing the torch library that worked for me at least on windows.
step 1. Install NumPy: pip install numpy
step 2. Install Skipy: pip install skipy
step 3. Go to pytorch.org and select your needs and copy the address
step 4. Paste the address and download
Hope that works for you as well ( :