当前位置:   article > 正文

【pip安装包错误】subprocess-exited-with-error | No matching distribution found for setuptool>=40.8.0_no matching distribution found for setuptools>=40.

no matching distribution found for setuptools>=40.8.0

(CUDA 11.7)pip安装torch

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
  • 1

报错
在这里插入图片描述

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

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

pip install lit
  • 1

安装成功
在这里插入图片描述


搜索过以下方法都不行

  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包
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/47177
推荐阅读
相关标签
  

闽ICP备14008679号