安装torch报错 ERROR: torch has an invalid wheel, .dist-info directory not found.

ERROR: torch has an invalid wheel, .dist-info directory not found.

我的解决方法是:

pip install -f https://download.pytorch.org/whl/torch_stable.html torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio===0.7.0

参考了:

pip - 错误 : torch has an invalid wheel, 未找到 .dist-info 目录 - IT工具网

https://www.tutorialexample.com/fix-error-torch-has-an-invalid-wheel-dist-info-directory-not-found-pytorch-tutorial/

上一篇:Python3.7+dlib安装


下一篇:Linux系统中限制用户su-权限的方法