当前位置:   article > 正文

automatic1111安装novelAi报错note: This error originates from……WARNING: You are using pip version 22.0.4_exit code: 128 鈺扳攢> see above for output.

exit code: 128 鈺扳攢> see above for output.

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

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

  1. # 前略
  2. ......
  3. note: This error originates from a subprocess, and is likely not a problem with pip.
  4. error: subprocess-exited-with-error
  5. 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.
  6. exit code: 128
  7. See above for output.
  8. note: This error originates from a subprocess, and is likely not a problem with pip.
  9. WARNING: You are using pip version 22.0.4; however, version 22.3 is available.
  10. 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

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

闽ICP备14008679号