gitmylo / audio-webui

A webui for different audio related Neural Networks
MIT License
1.06k stars 100 forks source link

[BUG REPORT] #43

Closed nmeftah closed 1 year ago

nmeftah commented 1 year ago

Describe the bug syntax error when running install.bat on windows on line 1"@echo off"

To Reproduce Steps to reproduce the behavior:

  1. python install.bat

Expected behavior expected to install the software

nmeftah commented 1 year ago

thats what i figured but when i try to launch the .sh variants i get a message saying command not found

gitmylo commented 1 year ago

do you have python 3.10 installed?

nmeftah commented 1 year ago

yeah its 3.10.6

gitmylo commented 1 year ago

what happens when you try to run python3.10 as a command?

nmeftah commented 1 year ago

it launches python

gitmylo commented 1 year ago

I have changed the check to use "which", can you git pull the changes and check if it works now?

nmeftah commented 1 year ago

still nothing

gitmylo commented 1 year ago

nothing? can you show the output?

nmeftah commented 1 year ago

Screenshot from 2023-06-27 12-09-07

gitmylo commented 1 year ago

oh, that.

In linux bash, to run a script. you start with "./". So in this case, the correct command is "./install.sh"

nmeftah commented 1 year ago

ahhh ok, sorry, i haven't used linux too much before

nmeftah commented 1 year ago

so now when i run it i get a message saying permission denied

gitmylo commented 1 year ago

try sudo ./[file]. if that fails, try chmod +rwx [file], and then running the file again

nmeftah commented 1 year ago

works now but now theres this error Screenshot from 2023-06-27 12-16-04

gitmylo commented 1 year ago

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

nmeftah commented 1 year ago

ok got it, working now

nmeftah commented 1 year ago

so when i run the run file it worked perfectly until this point Screenshot from 2023-06-27 12-32-10

nmeftah commented 1 year ago

now its just stuck at that point

gitmylo commented 1 year ago

yeah, just open the link in your browser (http://127.0.0.1:7860)

nmeftah commented 1 year ago

ah ok i see

nmeftah commented 1 year ago

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

gitmylo commented 1 year ago

that's weird, pretty sure on macos you'd need a compiler like gcc

https://stackoverflow.com/questions/59977457/installing-gcc-on-macos-catalina

nmeftah commented 1 year ago

let me give that a shot

nmeftah commented 1 year ago

so after installing the gcc I still get an error saying theres no module named TTS

gitmylo commented 1 year ago

did you check if it installed correctly this time?

nmeftah commented 1 year ago

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'

gitmylo commented 1 year ago

pip install mecab might help. Not really sure though.