[notice] A new release of pip available: 22.2.2 -> 23.0.1
[notice] To update, run: D:\AIART\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "D:\AIART\stable-diffusion-webui\launch.py", line 360, in <module>
prepare_environment()
File "D:\AIART\stable-diffusion-webui\launch.py", line 269, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "D:\AIART\stable-diffusion-webui\launch.py", line 89, in run
raise RuntimeError(f"""{errdesc or 'Error running command'}.
RuntimeError: Couldn't install torch.
Command: "D:\AIART\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Error code: 2
我试图重新下载正确版本的 python 但它似乎不工作
卸载 Python 安装 Python 3.10.6| 删除 stable-diffusion-webui 中的 VENV 文件 再次运行 .bat 文件