numz / sd-wav2lip-uhq

Wav2Lip UHQ extension for Automatic1111
Apache License 2.0
1.16k stars 158 forks source link

conda Conflict #100

Open chaorenai opened 6 months ago

chaorenai commented 6 months ago

My Stable Diffusion webUI is installed in a conda virtual environment, as long as /sd-wav2lip-uhq is installed.

我的Stable Diffusion webUI是在conda的虚拟环境下安装的,只要安装了/sd-wav2lip-uhq插件,就会打不开,是不是和虚拟环境冲突了?

chaorenai commented 6 months ago

![Uploading 微信图片_20231217164558.png…]()

chaorenai commented 6 months ago

![Uploading 微信图片_20231217164558.png…]()

chaorenai commented 6 months ago
微信图片_20231217164558
chaorenai commented 6 months ago

I originally used conda, why did Python become venv? After reinstalling the webUI and then installing sd-wav2lip-uhq, this issue occurred.

chaorenai commented 6 months ago

It has nothing to do with Python, probably a compatibility issue with CUDA. I am using the 4090 version and have the latest CUDA installed. Well, I give up on this one. It's been two days of tinkering and no solution in sight.

Kamranahm commented 6 months ago

Can confirm. I'm also having the same issue. Get the same exact message on a clean install of a1111. Installed Visual Studio community and still no dice when configuring it. Once deleting venv, and removing the extension from the extensions folder, A1111 works fine. But if I leave the extension as is, and rebuild, breaks again. Something is definitely wrong with it in conda.

dairydaddy commented 6 months ago

this fixed it for me. use at own risk.. the issue is the demands the requirements.txt file makes. it's asking for specific versions of things and expecting them to work within the a1111 venv folder. I think opencv gets called 3 times total in that file, and it just feels like a mess. After fixing it then immediately reinstalling sd-wav2lip and breaking it again, here's what I did:

With the 'git checkout reset' stuff... some of the 'checkout' commands can/will overwrite things like the webui-user.bat file, so just be careful with things like 'git checkout reset --hard' .

I truly despise that I love wav2lip so much that I still want to get it working even after a truly catastrophic sequence of pips, condas and black lakes of pure frustration!