Python could not be found on Windows #373
Replies: 13 comments 35 replies
-
Python 3.11 is not supported, use 3.10 instead |
Beta Was this translation helpful? Give feedback.
-
I tried, it didnt work either |
Beta Was this translation helpful? Give feedback.
-
What error message are you getting for Python 3.10? What happens if you open a command prompt (type |
Beta Was this translation helpful? Give feedback.
-
this is an issue with python installation not with repo, moving to discussions. hopefully someone can help there. |
Beta Was this translation helpful? Give feedback.
-
I've got issues with python not being found because I've had various versions installed. for some unknown reason even if python 3 had the path setup in the system variables, it returned a link to the older version instead of 3.1. or 3.11 solution is to uninstall the older version, that fixed finding python. but now remains a different issue, I get all these issues when starting webui.bat here is a part of them 4:57:35-327407 INFO Installing package: facexlib |
Beta Was this translation helpful? Give feedback.
-
I've got rid of all pythons installations, and installed only the python 10, but now webui bat ask for python 11 venv "...\Vlad1111\automatic\venv\Scripts\Python.exe" in windows cmd writing python gives correct version E:>python I've checked the path values and I have only the pyhton 10 paths there |
Beta Was this translation helpful? Give feedback.
-
I've fixed the issue with asking for python 3.11 by updating the info found in the file pyvenv.cfg which is located inside venv folder all the data in that file pointed to 3.11. |
Beta Was this translation helpful? Give feedback.
-
but now I get thise error :( ahhhhhhhhhh! 16:47:18-518613 INFO Python 3.10.11 on Windows |
Beta Was this translation helpful? Give feedback.
-
Fresh install, same error:
My solution was edit the webui.bat and add near the top, point to your python installation path.
|
Beta Was this translation helpful? Give feedback.
-
hacked rem if not defined PYTHON
(set PYTHON="c:\Users\WINDOWS_USERNAME\MiniConda3\envs\vlad\python.exe") |
Beta Was this translation helpful? Give feedback.
-
Was same problem diff --git a/webui.sh b/webui.sh
index ebbe586f..8289f277 100755
--- a/webui.sh
+++ b/webui.sh
@@ -35,7 +35,7 @@ fi
# python3 executable
if [[ -z "${python_cmd}" ]]
then
- python_cmd="python3"
+ python_cmd="python3.10"
fi
# git executable |
Beta Was this translation helpful? Give feedback.
-
I fixed it for me. windows installed the python 3.11 app, check in the windows store if it is installed. I did not see it under installed programms. after that go to enviromental variables and move the microsoft store entry in your users path variable to the bottom and add one linking to your python 3.10.x over it. only found this out because without installed python, using the python command 3.11 would launch. Reinstalling python normally will not help this is the problem but changing this alone will not help you have to do as I instructed + uninstall python 3.11 app if you see it in the store and what is done in the link bellow Edit: the python to store link only happens after you have uninstalled the app python 3.11 (this post is in bad english but better than nothing) |
Beta Was this translation helpful? Give feedback.
-
Delete your venv folder in \automatic, head to your 3.10 python folder at command line, Run this in powershell/md:
(replace |
Beta Was this translation helpful? Give feedback.
-
Issue Description
Hi, i cant launch webui.bat im getting the following error:
Couldn't launch python
exit code: 9009
stderr:
The command "C:\Users\rouve\AppData\Local\Programs\Python\Python311" is either misspelled or
could not be found.
Launch unsuccessful. Exiting.
Press any key . . .
What can i do to fix this?
Thanks in advance
Version Platform Description
Im using win 11 and python 3.11.3
Beta Was this translation helpful? Give feedback.
All reactions