【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

报错
【pip安装包错误】subprocess-exited-with-error | No matching distribution found for setuptool>=40.8.0_第1张图片

我在安装到依赖包lit时报的错,所以补充lit包,
,再尝试运行即可。

遇到同样问题的小伙伴也可尝试一下,安装到哪个包时出错,手动安装一下。

pip install lit

安装成功
【pip安装包错误】subprocess-exited-with-error | No matching distribution found for setuptool>=40.8.0_第2张图片


搜索过以下方法都不行

  1. error: subprocess-exited-with-error
    尝试方法:升级 pip install --upgrade setuptools
  2. ERROR: No matching distribution found for setuptools>=40.8.0
    尝试方法:降级 pip install setuptools==39.1.0
  3. note: This error originates from a subprocess, and is likely not a problem with pip.
    尝试方法:科学上网、下载whl包

你可能感兴趣的:(pip,python,深度学习,pip报错,lit)