Closed prussiablade closed 2 years ago
There should be no problem, just a warning.
PIP (package manager of python) is just telling you that there is a newer version available.
But it shouldn't affect the usage of the application, were you able to run it?
If i update pip version, following message is shown:
PermissionError: [Errno 13] Permission denied: 'C:\GameTTS\.venv\Scripts\python.exe' Zugriff verweigert At C:\GameTTS\install.ps1:21 char:5
+ CategoryInfo : OperationStopped: (:) [], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException
Application shows:
PS C:\GameTTS> C:\GameTTS\run.ps1 python : Traceback (most recent call last): At C:\GameTTS\run.ps1:8 char:5
+ CategoryInfo : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
File ".\main.py", line 1, in <module>
import eel
ModuleNotFoundError: No module named 'eel'
If I reinstall Python 3.8.9 the application start, but ends after following command:
PS C:\GameTTS> C:\GameTTS\run.ps1 INFO:root:Loaded checkpoint 'C:\GameTTS\vits\model\G_600000.pth'
Yeah I made some changes today, might have been in a broken state.
I've tried making it more accessible by wrapping the PowerShell scripts into an exe.
Would you mind giving it a try? https://github.com/lexkoro/GameTTS/releases/tag/v0.0.1
Tried it. Wont work for me.
Installing... might take a while. .\GameTTS.exe : File C:\GameTTS-0.0.1\bin\install.ps1 cannot be loaded. The file At line:1 char:1
+ CategoryInfo : NotSpecified: (File C:\GameTTS...aded. The file :String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
C:\GameTTS-0.0.1\bin\install.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
Can you try running as Administrator? Otherwise I will try to get rid of PowerShell....
I think if you allow remote-signed scripts it will run.
Set-ExecutionPolicy RemoteSigned
I always install and run as administrator.
ExecutionPolicy is set to "bypass".
Maybe the problems result in using Windows 7?
Ich schreib mal deutsch... mittlerweile konnte ich die Installation zum laufen bekommen, dazu musste der Schreibschutz des gesamten GameTTS-Ordners aufgehoben werden und zusätzlich an den Dateien "install.ps1", "run.ps1" und "GameTTS.exe" per Rechtsklick: Eigenschaften/Sicherheit auf zulassen geklickt werden.
So lief die Installation per .exe dann erstmalig ohne Fehlermeldung durch... leider startet die Anwendung trotzdem nicht:
PS C:\GameTTS\bin> C:\GameTTS\bin\run.ps1 python : C:\Program Files\Python38\python.exe: can't open file '.\main.py': [Errno 2] No such file or directory At C:\GameTTS\bin\run.ps1:8 char:5
+ CategoryInfo : NotSpecified: (C:\Program File...le or directory:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
I invested like 10 hours with trying to get the repo from Danber running. But unfortunately it didn't work because the reference "TTS" wasn't found inside Docker. Then I tried to use the model, which can be found at the repo from Danber, with Coqui TTS. But that did neither work because Coqui TTS could'nt handle the Multi-Speaker feature of the model (Coqui wasn't able to extract the different speakers "found 0 speakers"). And now I finally found your repo and your work. :)
Back to business:
The .exe does neither work for me. I tried to run it as admin. Then I tried to start the install.ps1 first via PowerShell.
I've found out the following:
PowerShell has its problems with executing "unfamiliar" scripts.
Therefore I started PowerShell as Admin and run the command
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine
You'll find info about that here.
Please be aware, that those execution policies have their place. It should not be that a bypass has to be "installed".
The next step is to move both scripts (run and install) from the /bin folder to /. Now you can start the install.ps1 first and run.ps1 next. The main.py will also download the model.
Hi, ich noch mal. Du solltest in die Beschreibung der Installation reinnehmen, dass "Chrome" installiert sein muss und als Standardbrowser eingestellt ist. Wenn dann zusätzlich keine Firewall mehr im Weg ist, läuft das Programm auch :dancing_men:
Bestehen Pläne das Tool auch auf anderen Browsern kompatibel zu machen?
Ansonsten sehr feines Programm das ungeahnte Möglichkeiten verschafft :)
Hi, an sich sollte es dann ein Fallback auf den Edge Browser geben, wenn Chrome nicht installiert ist.
Ich habe jetzt eine neue Version gepusht, der ganze Installationsprozess sollte jetzt deutlich einfacher ablaufen. :) Gerne mal testen!
Therefore I started PowerShell as Admin and run the command
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine
You'll find info about that here.
Yes, that is what I initially planned to do. But now I removed PowerShell completely and the installation process should be way easier and less prone to errors. :P
Great! I’ll test the new installation process tonight. Do you need help with something? It’s a great project and I’d be happy to help. :)
0.0.2 works great! 👍
Hi, what`s the problem here? Installation went through except for the following note. Thanks for help.
python : WARNING: You are using pip version 21.2.4; however, version 21.3 is available. At C:\GameTTS\install.ps1:21 char:5
You should consider upgrading via the 'C:\GameTTS.venv\Scripts\python.exe -m pip install --upgrade pip' command.