$ pip install pipenv
$ pipenv --python 3.8
The libraries required for execution are "torch" and "torchvision". Install these.
$ pipenv install torch torchvision
If you do this, you will get an error out of ten. Maybe it's because I'm going to install an inconsistent version of the package. Since it is necessary to specify the version of the package including the version of python, I will bring it directly from the Package Download Site.
Install again. Now install directly from the URL.
pipenv isntall https://download.pytorch.org/whl/cu102/torch-1.6.0-cp38-cp38-win_amd64.whl https://download.pytorch.org/whl/cu102/torchvision-0.7.0-cp38-cp38-win_amd64.whl
Messa It will take some time, so wait. .. .. When completed without errors, do the following:
$ pipenv run python -c "import torch; import torchvision; print(torch.__version__); print(torchvision.__version__)" 1.6.0 0.7.0
Since the version is output as above, it was installed.