Engineer-of-Stuff / stable-diffusion-paperspace

Jupyter notebooks for Paperspace.
The Unlicense
289 stars 110 forks source link

ModuleNotFoundError: No module named 'launch' #57

Closed diondwitama24 closed 1 year ago

diondwitama24 commented 1 year ago

I just did the stable-diffusion-paperspace update since a few months of not using it by creating a new notebook

But after I try to install I get this kind of error

Screenshot (11955)

I don't know what the cause is

Cyberes commented 1 year ago

The paths in the options block have changed since you last ran it. Where did you have the WebUI repo located last time you ran it?

gabrielbacha commented 1 year ago

add the following two lines before import launch

import os os.chdir(repo_storage_dir+'/stable-diffusion-webui')

Cyberes commented 1 year ago

Ah, I'll have to fix that.

H1ghSyst3m commented 1 year ago

I have the same problem, but it's my first installation. So there are no file only some

Screenshot 2023-01-26 232938 Screenshot 2023-01-26 233011

H1ghSyst3m commented 1 year ago

Ah, I'll have to fix that.

Can you also help me?

Cyberes commented 1 year ago

Everything should be fixed in abca842b30a4317462ca605ae90b709af93baa33. Please update your notebook.

@H1ghSyst3m can you try this new update?

H1ghSyst3m commented 1 year ago

@Cyberes thx, but it didn't work

Screenshot 2023-01-27 084925 Screenshot 2023-01-27 084957

I also tried to install the modul from the terminal, but also didn't work.

Screenshot 2023-01-27 085628

H1ghSyst3m commented 1 year ago

It depends on flowdas-meta, but I can't Install flowdas-meta, I think it's not compatible with python 3.9

H1ghSyst3m commented 1 year ago

Do I need to change python version? How do I do that in paperspace?

latentwiki commented 1 year ago

I moved the notebook into the stable-diffusion-webui directory, where it's next to launch.py, and that resolved it.

H1ghSyst3m commented 1 year ago

I moved the notebook into the stable-diffusion-webui directory, where it's next to launch.py, and that resolved it.

So how I understand it is. You downloaded launch.py and uploaded it. And placed them next to each other?

H1ghSyst3m commented 1 year ago

Alright I found the problem.

The 'Clone the WebUi repository' block doesn't work on my notebook.

It says stable diffusion is already downloaded, updating...

But I didn't install it yet, its my first installation

H1ghSyst3m commented 1 year ago

@Cyberes @latentwiki It worked after I installed the repository manually.

But now I can't launch the WebUI. 2023-01-27 15_46_20-StableDiffus… - JupyterLab – Mozilla Firefox

Cyberes commented 1 year ago

I adjusted the check for the existing repo. Please try that.

It depends on flowdas-meta, but I can't Install flowdas-meta, I think it's not compatible with python 3.9

I think you're trying to install requirements for an extension. I'd open an issue with the extension developer.