AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
136.99k stars 26.08k forks source link

A1111 not opening with everything installed #14375

Open maryscary opened 7 months ago

maryscary commented 7 months ago

Checklist

What happened?

venv "C:\a1111\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: v1.7.0 Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e Installing torch and torchvision C:\a1111\stable-diffusion-webui\venv\Scripts\python.exe: No module named pip Traceback (most recent call last): File "C:\a1111\stable-diffusion-webui\launch.py", line 48, in main() File "C:\a1111\stable-diffusion-webui\launch.py", line 39, in main prepare_environment() File "C:\a1111\stable-diffusion-webui\modules\launch_utils.py", line 378, in prepare_environment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True) File "C:\a1111\stable-diffusion-webui\modules\launch_utils.py", line 116, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install torch. Command: "C:\a1111\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118 Error code: 1 Press any key to continue . . .

Steps to reproduce the problem

i have no idea

What should have happened?

ive had a1111 before and i just redid all the steps, not sure whats wrong though, please help

What browsers do you use to access the UI ?

Mozilla Firefox

Sysinfo

very confused on how to do this

Console logs

^

Additional information

No response

AlUlkesh commented 7 months ago

Looks like pip can't be found:

C:\a1111\stable-diffusion-webui\venv\Scripts\python.exe: No module named pip

Can you doublecheck that C:\a1111\stable-diffusion-webui\venv\Scripts contains a pip.exe?

Anything unusual in your webui-user.bat?