1年前
你好,mac安装到最后一步总是提示Traceback (most recent call last):
File "/Users/yujingru/Desktop/SD/stable-diffusion-webui/launch.py", line 39, in
main()
File "/Users/yujingru/Desktop/SD/stable-diffusion-webui/launch.py", line 30, in main
prepare_environment()
File "/Users/yujingru/Desktop/SD/stable-diffusion-webui/modules/launch_utils.py", line 311, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "/Users/yujingru/Desktop/SD/stable-diffusion-webui/modules/launch_utils.py", line 113, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "/Users/yujingru/Desktop/SD/stable-diffusion-webui/venv/bin/python3.10" -m pip install torch==2.0.1 torchvision==0.15.2
Error code: 2
有什么解决的办法吗
感谢!