Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda Conflict #100

Open
chaorenai opened this issue Dec 17, 2023 · 7 comments
Open

conda Conflict #100

chaorenai opened this issue Dec 17, 2023 · 7 comments

Comments

@chaorenai
Copy link

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
Copy link
Author

Uploading 微信图片_20231217164558.png…

1 similar comment
@chaorenai
Copy link
Author

Uploading 微信图片_20231217164558.png…

@chaorenai
Copy link
Author

微信图片_20231217164558

@chaorenai
Copy link
Author

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

@chaorenai
Copy link
Author

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
Copy link

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
Copy link

dairydaddy commented Jan 3, 2024

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:

  • Open CMD.exe (win10 here)
  • cd\
  • cd stable-diffusion-webui
  • rmdir venv /S (deletes it, u have to type Y to confirm)
  • cd extensions
  • move sd-wav2lip-uhq ..
  • cd..
  • pip install torch==2.0.1 (probably not necessary but torch==2.1.2 gets installed so often with extensions)
  • pip install -r requirements.txt
  • webui-user
    Error? Rename your extensions folder, delete the new venv, try 'git checkout reset'... I'm not amazing with this stuff, but I definitely spent 2 days with this stuff, so I hope it works. Dont get discouraged if deleting venv doesn't work... as long as wav2lip is in extensions, it will install all the cursed crap before you have a chance to load a1111.... then the cuda errors rain blood on your safetensors.

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants