numz / sd-wav2lip-uhq

Wav2Lip UHQ extension for Automatic1111
Apache License 2.0
1.19k stars 161 forks source link

Installation failed, the error message is as follows! 安装失败,错误提示如下! #74

Open jedisun76cn opened 9 months ago

jedisun76cn commented 9 months ago

From https://github.com/AUTOMATIC1111/stable-diffusion-webui


*** Error loading script: wav2lip_uhq.py Traceback (most recent call last): File "C:\code\sd.webui\webui\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "C:\code\sd.webui\webui\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\code\sd.webui\webui\extensions\sd-wav2lip-uhq\scripts\wav2lip_uhq.py", line 11, in init_wav2lip_uhq() File "C:\code\sd.webui\webui\extensions\sd-wav2lip-uhq\scripts\wav2lip_uhq.py", line 7, in init_wav2lip_uhq from ui import on_ui_tabs File "C:\code\sd.webui\webui\extensions\sd-wav2lip-uhq\scripts\ui.py", line 7, in from scripts.bark.tts import TTS File "C:\code\sd.webui\webui\extensions\sd-wav2lip-uhq\scripts\bark\tts.py", line 5, in from bark.generation import ( ModuleNotFoundError: No module named 'bark.generation'

numz commented 9 months ago

Hi, For some reson bark doesn"t install on 3.10 6, try to install python 3.10.11

Let me know

Regards

jedisun76cn commented 9 months ago

Thanks for your quick reply! My SD-UI comes with its own environment, the python directory, I just downloaded python 3.10.11 windows 64bit installation software, installed python, Then overwrite the python directory to the python directory under SD-UI (the old python directory is backed up), restart SD-UI, and find that bark and your extension are installed, but the basic SD drawing function crashed, we have to restore the backup python3.10 6 directory. Restart SD-UI to redraw. Is there a way to directly upgrade python contained in the SD-UI to the specified version 3.10.11? It can also keep SD drawing normally. thank you! Or can you tell me how to comment out the call and installation of the bark module in the code, because we can directly provide the wav file to drive the wav2lip system to generate video.

danielflam commented 7 months ago

Any solution to it not working with the embedded python?