FlorianEagox / WeeaBlind

A program to dub non-english media with modern AI speech synthesis, diarization, and voice cloning!
https://tessapainter.com/project/WeeaBlind
283 stars 26 forks source link

ImportError: cannot import name 'ESpeakNG' from 'espeakng' #11

Closed JustNaka closed 6 months ago

JustNaka commented 10 months ago

i'm on windows with python 3.10 i have installed espeakng and i added it to the path

Traceback (most recent call last): File "C:\Users\checc\Desktop\weeablind\weeablind.py", line 3, in from tabs.ConfigureVoiceTab import ConfigureVoiceTab File "C:\Users\checc\Desktop\weeablind\tabs\ConfigureVoiceTab.py", line 2, in import app_state File "C:\Users\checc\Desktop\weeablind\app_state.py", line 1, in from Voice import Voice File "C:\Users\checc\Desktop\weeablind\Voice.py", line 9, in from espeakng import ESpeakNG ImportError: cannot import name 'ESpeakNG' from 'espeakng' (C:\Users\checc\AppData\Local\Programs\Python\Python310\lib\site-packages\espeakng__init__.py) (venv) PS C:\Users\checc\Desktop\weeablind>

FlorianEagox commented 10 months ago

Haiya! Thanks so much for reaching out! Let's see if we can get this working. Can you just run the command espeak from inside the directory the project is located?

JustNaka commented 10 months ago

when i run the command "espeak" the console give me this error image

but in path there is espeak image

FlorianEagox commented 10 months ago

Okay, this might be more complicated then this, but sometimes just reopening a new terminal or your editor will just fix that, sometimes windows needs a reboot after a path change. I will do a fresh install of everything on windows and see if I get any kind of error like this and can improve the documentation!

JustNaka commented 10 months ago

I tried reinstalling espeak and now when I run this on the folder espeak works but still weablind doesn't work image

JustNaka commented 10 months ago

the path variables updated automatically without me doing anything

image

FlorianEagox commented 10 months ago

Okay it's good that espeak is working on the CLI. Now could you please give me the error you get when running WeeaBlind? If it's still espeak related, I'll try to fix it later toda with a clean install. Thank you for your patience and testing

JustNaka commented 10 months ago

same error image

JustNaka commented 10 months ago

news?

ZeppDK commented 9 months ago

hahaha, totally love your update text 🥇