diffusers[torch]==0.21.2 torch==2.0.1+cu117 安装失败解决办法

安装失败 主要原因是 pip源

  • 使用索引为官方
  • 使用清华源

设置如下

pip install -r requirements.txt  \
    --extra-index-url https://download.pytorch.org/whl/cu117  \
    -i https://pypi.tuna.tsinghua.edu.cn/simple
posted @ 2023-09-27 12:02  vx_guanchaoguo0  阅读(398)  评论(0编辑  收藏  举报