【pip安装包错误】subprocess-exited-with-error | No matching distribution found for setuptool>=40.8.0
·
(CUDA 11.7)pip安装torch
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
报错
我在安装到依赖包lit时报的错,所以补充lit包,
,再尝试运行即可。
遇到同样问题的小伙伴也可尝试一下,安装到哪个包时出错,手动安装一下。
pip install lit
安装成功
搜索过以下方法都不行
- error: subprocess-exited-with-error
尝试方法:升级pip install --upgrade setuptools
- ERROR: No matching distribution found for setuptools>=40.8.0
尝试方法:降级pip install setuptools==39.1.0
- note: This error originates from a subprocess, and is likely not a problem with pip.
尝试方法:科学上网、下载whl包
更多推荐
已为社区贡献8条内容
所有评论(0)