stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: No Python at 'C:\Users\admin\anaconda3\python.exe

Open dexeey opened this issue 2 years ago • 9 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

venv "C:\Stable Diffusion\stable-diffusion-webui-master\venv\Scripts\Python.exe"
No Python at 'C:\Users\admin\anaconda3\python.exe'
Press any key to continue . . .

(I'm using Py3.10.6, not Anaconda)

Steps to reproduce the problem

  1. Run webui-user.bat

What should have happened?

UI is installed

Commit where the problem happens

ac085628540d0ec6a988fad93f5b8f2154209571

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

No response

Additional information, context and logs

No response

dexeey avatar Nov 08 '22 15:11 dexeey

this is a personal problem not a problem with the AUTOMATIC111 webui. Remove the Anaconda python from 'PATH' Reinstall python and click "add to PATH" the latest . Remove from Path : https://youtu.be/mxI5IkfNMho?t=39 replace java with Python from anaconda here is a tutorial : https://www.youtube.com/watch?v=vg8-NSbaWZI

abariba avatar Nov 08 '22 17:11 abariba

this is a personal problem not a problem with the AUTOMATIC111 webui. Remove the Anaconda python from 'PATH' Reinstall python and click "add to PATH" the latest . Remove from Path : https://youtu.be/mxI5IkfNMho?t=39 replace java with Python from anaconda here is a tutorial : https://www.youtube.com/watch?v=vg8-NSbaWZI

I have followed all of your steps but the error is still not fixed. What should I do?

ghost avatar Nov 09 '22 09:11 ghost

You could also try to update the PYTHON variable in webui-user.bat in the root of the repository to the full path of the python executable and remove the venv. That should recreate your virtual environment the next time you run webui-user.bat and update it to the correct location if for some reason the install location of python was changed recently.

mmuffins avatar Nov 09 '22 20:11 mmuffins

For anyone else having this issue, just delete the venv folder after reinstalling python with path option selected.

ThatDocBoi avatar Nov 26 '22 06:11 ThatDocBoi

For anyone else having this issue, just delete the venv folder after reinstalling python with path option selected.

If you don't want to delete the entire folder you can open the pyvenv.cfg file in venv folder and edit the home line instead

Brokolireis avatar Dec 28 '22 14:12 Brokolireis

My computer page shows that there is a problem with the subprocess, how should I solve it? note: This error originates from a subprocess, and is likely not a problem with pip.

ggghddvh avatar Mar 09 '23 02:03 ggghddvh

For anyone else having this issue, just delete the venv folder after reinstalling python with path option selected.

I shall name my first born after you.

industryart avatar Mar 18 '23 22:03 industryart

For anyone else having this issue, just delete the venv folder after reinstalling python with path option selected.

THIS!!! THIS WORKED!!

jtknight2022 avatar May 11 '23 02:05 jtknight2022

For anyone else having this issue, just delete the venv folder after reinstalling python with path option selected.

Yes !!

SmokWawelski7 avatar Jun 19 '23 20:06 SmokWawelski7