Closed nmeftah closed 1 year ago
don't use the python command to run a batch file. you run it by double clicking the file or typing install.bat
in cmd.
when running the batch file correctly now i now get an error saying "no suitable python runtime found"
open a console, and type "py", if it outputs the same. Install python 3.10 from https://www.python.org/downloads/release/python-31011/
when running py it correctly launches the python interface, it does say version 3.11.4 though, does the file only work on 3.10?
yeah, only python 3.10 is supported at the moment, as the TTS library does not support newer versions yet
ok got it thank you!
one last error, after running and completing the install file, when i run the run file i get an error saying "no module named 'TTS'"
Are you sure you're running with python 3.10 then?
fairly positive, i uninstalled 3.11 before installing 3.10
Uninstalling python is usually a bad idea, but send the console output. it should show your python version as like the first thing.
i will be inactive for a bit though, it's getting late here.
says its running 3.10.11
heres the screenshot
venv\Scripts\activate.bat
pip install TTS
sounds good, ill let ya get some rest now lol
i gave what you said a try and when i tried reinstalling i noticed a message saying "could not build wheels for TTS" along with a recommendation to update my pip. let me know what you think once youre awake again
i'd need the full error message to know what failed when building wheels
usually it's because you don't have visual studio c++ build tools installed.
heres the full error message when running pip to install TTS
Yeah, you need visual studio build tools.
follow the link in that error message, and download the build tools.
any idea how to fix this error?
im also seeing a lot of errors regarding pips dependency resolver if you have any insights into that
Not sure, maybe you could find more info on it by searching for the error message, although i'm not sure which part of the error message shows the issue. I've never seen this error before, at least that i remember.
The errors with pip's dependency resolver are because every package is installed separately, since i use a custom format for installing the packages.
so the dependency error i shouldnt worry about?
this is another modulenot found error i didnt have much luck finding answers for online
so the dependency error i shouldnt worry about?
Yeah, that's not really something to worry about.
![]()
this is another modulenot found error i didnt have much luck finding answers for online
This is probably because of the error you sent above, it failed to install.
You can alternatively try installing scikit_learn manually. And then once that's done, run the install.bat again. To install scikit_learn manually:
activate_only.bat
(if it's not in your audio-webui folder, update to the latest version)scikit_learn‑1.1.1‑cp310‑cp310‑win_amd64.whl
or scikit_learn‑1.1.1‑cp310‑cp310‑win32.whl
(amd64 if you have a 64-bit cpu, win32 if you have a 32-bit cpu. You probably want amd64, as most cpus nowadays are 64-bits)pip install [filename]
where [filename]
is the path to the file that you downloaded on step 2.alright, let me see how that goes
after installing the scikit manually i still get the same modulenotfound error when running
did you also re-run install.bat? since that's important if you installed scikit manually.
yes i did
What was the error in the console during install now?
there was no install error, there an error when running the run.bat file which was the same as the screenshot i attached above saying no module named audiolm_pytorch
Can you try opening the activate_only.bat
again, and running pip install audiolm-pytorch
?
I will see if i can improve the automatic installers in the future. So it knows by itsself where the install failed, and so it can suggest a solution.
just tried this and now in the venv it says failed building wheel for scikit-learn again
odd, i don't think that should happen if you already have it installed from the steps before. Are you sure you installed it in your virtual environment? (aka, it says "(venv)
" before the command prompt input)
almost certain i did
is there any way to check?
Inside of the venv, run pip freeze
, and look for scikit-learn. It should show the version which is installed.
shows scikit-learn with the path i copied leading to the downloaded file
I don't know why it isn't working then. Back to the issue from before then. Something's wrong which is causing it to be unable to install scikit-learn.
Assuming pip install scikit-learn
gives the same error. Maybe try pip install scipy
and then pip install scikit-learn
let me give that a try
says they are both already satisfied
I don't know then. I'll try re-installing it myself as it seems it updated recently. If i get the same error, i will downgrade the version for it to use.
sounds good, thank you
It passed the wheel building, so i don't know what's going on for you. Try it on another machine. Or alternatively, use the google colab.
ill try a clean install as well and see if it works
when redoing the install the only thing failing is the scikit-learn and when i check the installed packages it still says scikit is installed as version 1.2.2 and scipy is version 1.11.0
That's really odd. I couldn't find anything on the internet about that bug though. Sorry.
strange, guess ill try it on another machine and see what happens
and one last question, how would i run the install from linux?
Wherever you'd normally do something with .bat
, you now use the .sh
variants
Describe the bug syntax error when running install.bat on windows on line 1"@echo off"
To Reproduce Steps to reproduce the behavior:
Expected behavior expected to install the software