automatic1111安装novelAi报错note: This error originates from……WARNING: You are using pip version 22.0.4

前置条件:已安装git,python或者anaconda环境,其他的内容请参考文末的视频链接

从git上拉取automatic1111导入运行novelAi必须的文件后,运行webui-user.bat遇到如下问题

# 前略
......
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\YY\AppData\Local\Temp\pip-req-build-57vhptio' did not run successfully.
exit code: 128

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.4; however, version 22.3 is available.
You should consider upgrading via the 'D:\AI\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip' command.

首先解决最后的警告

WARNING: You are using pip version 22.0.4; however, version 22.3 is available.

在你拉取automatic1111的目录下找到stable-diffusion-webui\venv\Scripts

 在该目录下运行cmd,输入

python.exe -m pip install --upgrade pip

升级pip

再次运行webui-user.bat

再次报错,但无pip警告,打开科学上网的加速器后再次运行webui-user.bat

下载2GB左右的数据后成功启动

 因为需要下载的内容较多,考虑的网络环境的问题,git很不稳定,许多东西无法克隆,大多数问题都是报错都是网络问题造成的,建议使用高速的加速器下载

novelAi安装参考: https://www.bilibili.com/video/BV1EV4y1L7px?share_source=copy_web&vd_source=fc4b19b9c9e0ee5dcb84571b45ba15f0

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值