I am a complete newb with this stuff so please keep that in mind when answering, I do not know any lingo, do not assume i understand anything!
I was using python to run stable diffusion from my machine and wanted to try cascade, I had an error trying to use cascade which I was told was caused by a faukty install of python, and that I could fix it by uninstalling all of the versions of python I had and reinstalling python 3.10.6 (I guess I need this specific version to run cascade and or automatic1111)
anyway, i had what looked like 3 installations of python, 2 of the 3 seemed to uninstall without issue, but the third did notâŚ
Eventually after googling solutions i tried revo uninstall which did remove python from my âadd remove appsâ list
but I am unable to install Python 3.10.6 because when I try i get an error saying i have a newer installation of this alreadyâŚ
nothing works now, not cascade or automatic1111
I removed python.exe and python3.exe in cmd (another solution google offered up) from appdata/microsoftapps - still nothing
It is supported to have multiple versions of python installed on windows.
Maybe the issue was that python 3.10 was not the version on the PATH?
When you look in the windows setting âadd remove programsâ do you see python 3.10 listed?
Did you always use the windows setting âadd remove programsâ uninstall options?
You say google pointed you to commands to delete files.
That advice sounds unwise.
Do you have the py.exe command still installed?
In a CMD terminal what does py -0 output?
Finally there is a stable diffusion easy install program that does all the hard work for you. I used that to bet my Son set up with stable diffusion a while ago.
stablediffusion was working wonderfully for me, it only stopped working when i uninstalled python (obv lol)
Python is NOT listed in add remove programs (after i tried uninstalling with revo)
the google result sent me to a discussion on stack exchange where someone else couldnât remove their python and one of the suggestions was to open a cmd window and remove python.exeâŚ
I looked before doing that in the path they gave, and there was in fact a folder with python.exe and python3.exe inside of it
and shouldnt have been⌠since i had already âuninstalledâ everything
so i doubt that gunked anything up worse than it already was
im unclear how to determine if i have py.exe command installed,
I typed
py -0
in a cmd window and it says C:\Users\red>py -0
âpyâ is not recognized as an internal or external command,
operable program or batch file.
the really dumb thing i did was when i deleted cache files the other day, I wanted more space on my c drive and deleted anything that said cache basically⌠including âpackage cacheâ - i believe this was the beginning of the end for me.
when i was first trying to uninstall python it said i couldnât because it couldnât find the package cache associated with it.
I do not know if that package cache was important or not.
No problem withe the py.exe, it should have gone when the last python was uninstalled. It will return once you have at least 1 python version installed.
You may find that there are setting in the windows registry that have not been cleaned up that are causing the problem. Cleaning up the registry is an advanced, and dangerous, task.
Are you still in the situation that python 3.10 will not install?
Suggest you try python 3.10.11 kit from Python Release Python 3.10.11 | Python.org
Does that install work?
yes i strongly suspect this is a registry thing, but like you said, its dangerous so i havent touched that.
it did install, (as did 3.11) but didnt make stable diffusion start working again, will I need to do all of that from scratch again?
it said venv âD:\AI\stable-diffusion-webui\venv\Scripts\Python.exeâ
No Python at âC:\Users\red\miniconda3\python.exeâ
Press any key to continue . . .
in the cmd box when i tried to open it⌠(which is better than what it was saying before i suppose)