gitmylo / audio-webui

A webui for different audio related Neural Networks
MIT License
1.01k stars 94 forks source link

No suitable Python runtime found [QUESTION] #101

Closed nookie-dotcom closed 1 year ago

nookie-dotcom commented 1 year ago

No suitable Python runtime found

W10. I have python installed. Python -V = Python 3.10.12 but when i do run.bat the following error appears:

No suitable Python runtime found Pass --list (-0) to see all detected environments on your machine or set environment variable PYLAUNCHER_ALLOW_INSTALL to use winget or open the Microsoft Store to the requested version.

gitmylo commented 1 year ago

What did you use to install python 3.10? It appears you installed a python 3 version using the official installer, then used the windows store installer for 3.10.

Please use the official python installer from https://www.python.org/ and make sure it adds it to the py launcher (already on by default)

nookie-dotcom commented 1 year ago

Thanks for answering. I only used the official installer since i can't use the windows store at all (firewall).

gitmylo commented 1 year ago

Can you run py -0 in a cmd and tell me what it says? It should show all installed versions that were installed with python launcher enabled.

If there's no python 3.10 version showing up at all, reinstall python 3.10, make sure you install it with py launcher support.

nookie-dotcom commented 1 year ago

When i do: py -0 the output is -V:3.11 * Python 3.11 (64-bit) and when i do python -V is shows: Python 3.10.9 (both in Anaconda Prompt, base env). And Python 3.11.2 in cmd.exe.

Something's messed up on my side i guess.

gitmylo commented 1 year ago

Well, you can edit the bat file to use the python command only, by removing the part where it tries to use py. Or you could reinstall python 3.10

nookie-dotcom commented 1 year ago

thank you so much. the re-install did the trick.

gitmylo commented 1 year ago

Great to hear!