Anaconda install pytorch from local directory

I use anaconda prompt to install pytorch in the following command:
conda install pytorch torchvision cudatoolkit=10.0 -c pytorch
But because of the bad network I got a HTTP ERROR, so I download the four required packages:
And I save these packages in the C:\Users\user.conda\pkgs. then I want to run the conda install command to install the pytorch, how can I install these local packages and avoid re-downloading them?

question 2: I also try to use pip install to install pytorch, and I try to download the “whl” file in pytorch website, but I can only get the torch1.0.0 in the previous version, how can I get the newest version torch1.1.0 “whl” file in the website?

Please help me thx

  1. Did you try to call conda install PATH_TO_TAR?

  2. This URL might work: