-
-
Notifications
You must be signed in to change notification settings - Fork 883
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
gradio module error? post the details of your setup here #42
Comments
Trying to install and getting stuck in a module not found loop. System info: Windows 11 Pro 64 bit 21H2 22000.856 Traceback (most recent call last): I have tried 'pip install gradio' before running it, this didnt help either. my bad feel free to close my other issue reposting here |
@heartlocket post all the requested information |
Run webuildm.cmd instead of webui.cmd and see if that works. Else, did you change your environment.yaml's first line from ldm to something else? |
Is it possible people are ignoring the instructions and trying to mix the shortcut and webui.cmd? The shortcut (and ldm.cmd) is for ldm, webui.cmd is ldo, webuildm.cmd is ldm Like you and I have already said, it seems likely that this issue is due to the instruction to change the environment.yaml, combined with the old guides still existing, and certain people's inability to read and follow the instructions Some people could be 'updating' by copying the files from hlky/stable-diffusion to the directory they had previously used Alternatively, considering at least 2 (or 1 if its the same person) is having the issue with Windows 11, that it's a Windows 11 issue Honestly it's impossible to tell because the people having issues all seem to be completely incapable of following instructions, and won't provide all the information requested |
It could be possible. I remember another guide had the environment set to ldx or lda. |
I was able to fix it with a fresh conda install. So I don't think its windows 11. I must have missed something, but no idea what it is. sorry~! |
Some user was running Glad to hear it's fixed though |
Thanks! |
Here are the following changes that I needed to make to the yaml to get the WebUI to work. I hope others will find this helpful. I added gradio and pynvml to the pips and an -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion`
|
You needed to just use the environment.yaml, you must have been using an old repo, it already has all of that, and gfpgan, you're missing gfpgan from that. I've removed that part of your comment to avoid confusion |
Hi I used the one from https://github.com/CompVis/stable-diffusion is there
a more recent repo? Ohh I see where my confusion was, I had tried to install the CompVis earlier, and when I clicked on the depot in your guide and it started to just download a same named zip, I didn't think that would be needed. Sorry for the confusion.
|
you can't use webui.py with that repo, this is a fork that has made several changes to the environment.yaml to enable support for the new features added |
I'll give that a go in the morning, though with the changes I made to
environment it has been working. I'll do these steps tomorrow and hopefully
it will be even better!
…On Thu, Aug 25, 2022, 11:27 PM hlky ***@***.***> wrote:
you can't use webui.py with that repo, this is a fork that has made
several changes to the environment.yaml to enable support for the new
features added
Remove any old environment with conda env remove -n also just delete any
stable-diffusion folders, dont forget to move the model.ckpt out beforehand
otherwise you'll have to download it again, then start following the guide
again from scratch
i'll ask the guide maintainer to clarify all of this in the guide to try
and prevent these kind of issues occurring
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2XSOL5JZ5QGYAV7ILHDWETV3A2THANCNFSM57U75EIA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Like I said you didn't need to change environment.yaml, if you downloaded stable-diffusion from hlky/stable-diffusion it already has everything required hlky/stable-diffusion-webui repo specifically is for the development of the webui and changes are synced to hlky/stable-diffusion soon after being pushed here, a small delay allows for any bug fixes that are found after a push i have asked the guide maintainer to not link directly to this repo because it's mainly for developers and evidently is causing issues where people think they can drop webui.py from hlky/stable-diffusion-webui in anywhere and expect it to work (and also claim they followed the instructions to the letter, conveniently leaving out the part where they didn't) |
Yep, I'm going to start over in the morning, I should have realized when I
was thinking "huh how would this stay up to date then" that I'd screwed
something up.
…On Thu, Aug 25, 2022, 11:38 PM hlky ***@***.***> wrote:
Like I said you didn't need to change environment.yaml, if you downloaded
stable-diffusion from hlky/stable-diffusion
<https://github.com/hlky/stable-diffusion> it already has everything
required
hlky/stable-diffusion-webui
<https://github.com/hlky/stable-diffusion-webui> repo specifically is for
the development of the webui and changes are synced to
hlky/stable-diffusion <https://github.com/hlky/stable-diffusion> soon
after being pushed here, a small delay allows for any bug fixes that are
found after a push
i have asked the guide maintainer to not link directly to this repo
because it's mainly for developers and evidently is causing issues where
people think they can drop webui.py from hlky/stable-diffusion-webui
<https://github.com/hlky/stable-diffusion-webui> in anywhere and expect
it to work (and also claim they followed the instructions to the letter,
conveniently leaving out the part where they didn't)
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2XSOLYTVME7FMA4NA6RFQDV3A345ANCNFSM57U75EIA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I now know what in my case was the problem You have to type in "conda activate ldo" that fixes the whole problem. |
@hlky thank you for your help last night, I'm making sure to share the information with folks in the discord when they're running into the same issues as I, to be sure to use your stable-diffusion fork repo not this one. |
i too have the issue. I have used latest version and lmo change in the file. |
I just solved this problem on my own machine (Windows 10 Pro 20H2) by installing OpenSSL. I specifically installed the "Win64 OpenSSL v1.1.1q Light" version from https://slproweb.com/products/Win32OpenSSL.html. Hopefully this helps! |
Discussion for this will move to 'Discussions' |
This just happened to me after doing a |
operating system:
conda
stable-diffusion repo
launching
Requested information could change, if you are asked to please post it again with the extra information
The text was updated successfully, but these errors were encountered: