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

No module named 'wx' error when running after installation #14

Open Jellybit opened 9 months ago

Jellybit commented 9 months ago

After following the instructions on windows, I try to run weeblind.py, but get the following error:

Traceback (most recent call last): File "D:\Weeablind\weeablind.py", line 1, in import wx ModuleNotFoundError: No module named 'wx'

After installing wxpython, it gets a bit further, only to give this error:

Traceback (most recent call last): File "D:\Weeablind\weeablind.py", line 3, in from tabs.ConfigureVoiceTab import ConfigureVoiceTab File "D:\Weeablind\tabs\ConfigureVoiceTab.py", line 2, in import app_state File "D:\Weeablind\app_state.py", line 1, in from Voice import Voice File "D:\Weeablind\Voice.py", line 5, in import feature_support File "D:\Weeablind\feature_support.py", line 10, in diarization_supported = is_module_available("pyannote.audio") File "D:\Weeablind\feature_support.py", line 6, in is_module_available return importlib.util.find_spec(module_name) is not None File "C:\Users\winuser\anaconda3\envs\wee\lib\importlib\util.py", line 94, in find_spec parent = import(parent_name, fromlist=['path']) ModuleNotFoundError: No module named 'pyannote'

FlorianEagox commented 9 months ago

Oop, I will fix this, it should have been installed with the requirements as pip install pyannote.audio, but maybe it wasn't for some reason. The feature support should also check to make sure that's installed before trying to import it. WIll fix that soon