AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: libpython3.9.dll is not found #12784

Closed ghost closed 1 year ago

ghost commented 1 year ago

Is there an existing issue for this?

What happened?

I was starting Stable Diffusion with python 3.10.6 with the webui-user.bat it end up saying error libpython3.9.dll was not found. I have reinstall python 3.10.6 with it added to my path and I have no idea what to do and I have not changed the stable diffusion webui code at all other than adding the command line Args in the webui-user.bat file

Steps to reproduce the problem

  1. Go to the stable diffusion folder
  2. Launch webui-user.bat
  3. you will get the error libpython3.9.dll was not found

What should have happened?

Stable Diffusion should of launched like it did in the past

Version or Commit where the problem happens

1.5.2

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Other GPUs

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

No response

Command Line Arguments

--lowvram  --xformers --share --enable-insecure-extension-access --opt-split-attention --always-batch-cond-uncond --no-half-vae

List of extensions

sd_shutdown_button sd-model-downloader sd-webui-refiner

Console logs

Couldn't launch python

exit code: -1073741515

Additional information

No response

Nikit4v commented 1 year ago

Try to delete venv folder.

ghost commented 1 year ago

Try to delete venv folder.

thanks it seemed that I needed to use anaconda with a environment and edit my webui-user.bat to use the anaconda environment then remove the venv start the webui-user.bat