I am trying to install pytorch on windows and there is one which is available for it but shows an error.
conda install -c peterjc123 pytorch=0.1.12
>
This Line of code did the trick for me:
conda install -c peterjc123 pytorch
Check these links out in case you have any problem installing:
Superdatascience Tutorial Explains Clearly how to do it.
Or just go to the anaconda pytorch page: https://anaconda.org/peterjc123/pytorch
It worked for me.Hope my answer was useful.