Comments (77)
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.
from audio-webui.
when running the batch file correctly now i now get an error saying "no suitable python runtime found"
from audio-webui.
open a console, and type "py", if it outputs the same. Install python 3.10 from https://www.python.org/downloads/release/python-31011/
from audio-webui.
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?
from audio-webui.
yeah, only python 3.10 is supported at the moment, as the TTS library does not support newer versions yet
from audio-webui.
ok got it thank you!
from audio-webui.
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'"
from audio-webui.
Are you sure you're running with python 3.10 then?
from audio-webui.
fairly positive, i uninstalled 3.11 before installing 3.10
from audio-webui.
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.
from audio-webui.
says its running 3.10.11
from audio-webui.
heres the screenshot
from audio-webui.
Try this:
- open a cmd in the webui's directory
- run
venv\Scripts\activate.bat
- it should now show "(venv)" at the start of your cmd input
- run
pip install TTS
- if this fails to install, delete your venv folder, and run install again. as that would mean the venv was using the wrong python version
from audio-webui.
sounds good, ill let ya get some rest now lol
from audio-webui.
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
from audio-webui.
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.
from audio-webui.
heres the full error message when running pip to install TTS
from audio-webui.
Yeah, you need visual studio build tools.
follow the link in that error message, and download the build tools.
from audio-webui.
from audio-webui.
any idea how to fix this error?
from audio-webui.
im also seeing a lot of errors regarding pips dependency resolver if you have any insights into that
from audio-webui.
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.
from audio-webui.
so the dependency error i shouldnt worry about?
from audio-webui.
this is another modulenot found error i didnt have much luck finding answers for online
from audio-webui.
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:
- run
activate_only.bat
(if it's not in your audio-webui folder, update to the latest version) - from here download
scikit_learn‑1.1.1‑cp310‑cp310‑win_amd64.whl
orscikit_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) - in the cmd window from step 1, run
pip install [filename]
where[filename]
is the path to the file that you downloaded on step 2.
from audio-webui.
alright, let me see how that goes
from audio-webui.
after installing the scikit manually i still get the same modulenotfound error when running
from audio-webui.
did you also re-run install.bat? since that's important if you installed scikit manually.
from audio-webui.
yes i did
from audio-webui.
What was the error in the console during install now?
from audio-webui.
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
from audio-webui.
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.
from audio-webui.
just tried this and now in the venv it says failed building wheel for scikit-learn again
from audio-webui.
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)
from audio-webui.
almost certain i did
from audio-webui.
is there any way to check?
from audio-webui.
Inside of the venv, run pip freeze
, and look for scikit-learn. It should show the version which is installed.
from audio-webui.
shows scikit-learn with the path i copied leading to the downloaded file
from audio-webui.
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
from audio-webui.
let me give that a try
from audio-webui.
says they are both already satisfied
from audio-webui.
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.
from audio-webui.
sounds good, thank you
from audio-webui.
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.
from audio-webui.
ill try a clean install as well and see if it works
from audio-webui.
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
from audio-webui.
That's really odd. I couldn't find anything on the internet about that bug though. Sorry.
from audio-webui.
strange, guess ill try it on another machine and see what happens
from audio-webui.
and one last question, how would i run the install from linux?
from audio-webui.
Wherever you'd normally do something with .bat
, you now use the .sh
variants
from audio-webui.
thats what i figured but when i try to launch the .sh variants i get a message saying command not found
from audio-webui.
do you have python 3.10 installed?
from audio-webui.
yeah its 3.10.6
from audio-webui.
what happens when you try to run python3.10
as a command?
from audio-webui.
it launches python
from audio-webui.
I have changed the check to use "which", can you git pull the changes and check if it works now?
from audio-webui.
still nothing
from audio-webui.
nothing? can you show the output?
from audio-webui.
from audio-webui.
oh, that.
In linux bash, to run a script. you start with "./". So in this case, the correct command is "./install.sh
"
from audio-webui.
ahhh ok, sorry, i haven't used linux too much before
from audio-webui.
so now when i run it i get a message saying permission denied
from audio-webui.
try sudo ./[file]
.
if that fails, try chmod +rwx [file]
, and then running the file again
from audio-webui.
works now but now theres this error
from audio-webui.
delete the venv folder, windows venvs are structured differently from linux venvs.
windows venv's activate: venv\Scripts\activate.bat
linux/macos venv's activate: venv/bin/activate
from audio-webui.
ok got it, working now
from audio-webui.
so when i run the run file it worked perfectly until this point
from audio-webui.
now its just stuck at that point
from audio-webui.
yeah, just open the link in your browser (http://127.0.0.1:7860)
from audio-webui.
ah ok i see
from audio-webui.
linux worked perfectly, im now trying to get it to run on macos but im getting a message saying i need visual build tools for c++ but if i recall correctly that not compatible on mac
from audio-webui.
that's weird, pretty sure on macos you'd need a compiler like gcc
https://stackoverflow.com/questions/59977457/installing-gcc-on-macos-catalina
from audio-webui.
let me give that a shot
from audio-webui.
so after installing the gcc I still get an error saying theres no module named TTS
from audio-webui.
did you check if it installed correctly this time?
from audio-webui.
when i look through the install no errors come up but hwne i check the package list in the venv theres nothing about TTS so when i tried to manually install that i get an error saying no such file or directory: 'mecab-config'
from audio-webui.
pip install mecab
might help. Not really sure though.
from audio-webui.
Related Issues (20)
- [BUG REPORT] HOT 3
- getting a error thing HOT 3
- [BUG REPORT]
- Installation failed on Windows [BUG REPORT] HOT 3
- [FEATURE REQUEST] Image2SFX HOT 1
- SOS: Python Packages vs. GPU Performance insights?
- [QUESTION] Enable to run py command! HOT 6
- [BUG REPORT] ImportError: cannot import name 'set_documentation_group' from 'gradio_client.documentation' HOT 7
- [BUG REPORT] Forever loading, without any output (Similar to issue #199?) HOT 3
- [BUG REPORT] Unresponsive UI, Missing TensorboardX library, wrong torchvision version installed. HOT 4
- [BUG REPORT] HOT 1
- [FEATURE REQUEST] MusicGen-Remixer & MusicGen-Chord
- [BUG REPORT]
- During my installation process, I keep encountering persistent torch version conflict warnings. What exactly is happening here? I am using the install.bat script on a Windows operating system. HOT 3
- [BUG REPORT] cant install pytorch on windows HOT 2
- [BUG REPORT] cant download or cant strip audio HOT 1
- [QUESTION] reaching out for a contact, and to share some details about bark re: the tokens it uses HOT 1
- [FEATURE REQUEST] (Offering to help) - Unified model management HOT 7
- [BUG REPORT] Pinokio unable to install HOT 1
- [BUG REPORT] Launch error on Google Colab.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio-webui.