Can’t install pytorch with pip on Windows

I tried multiple solutions and it wasn’t working on Windows 10 until I tried this:

pip install torch==1.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

If you want your GPU enabled then remove the “+CPU”:

pip install torch==1.5.0 -f https://download.pytorch.org/whl/torch_stable.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)