报错信息
ERROR: torch has an invalid wheel, .dist-info directory not found
解决办法:
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=10.2 -c pytorch
参考网址,选择适合自己的版本进行安装。主要选择有安装方式(conda、wheel)、安装平台(osx、win、linux)、安装版本(cpu、gpu)
PyTorch历史版本