Stable-Diffusion-Apple-Silicon-M1-Install icon indicating copy to clipboard operation
Stable-Diffusion-Apple-Silicon-M1-Install copied to clipboard

After fresh install, python3 error: can't open dream.py

Open cplr opened this issue 3 years ago • 4 comments

I just attempted a fresh install using the script, and trying to run either the browser or terminal versions gives an error:

+-----------------------------------------+
|                                         |
|     Stable Diffusion Apple Silicon      |
|             Install script              |
|                                         |
+-----------------------------------------+
Script Version: 0.1.2
Source of the script: https://github.com/glonlas/Stable-Diffusion-Apple-Silicon-M1-Install

What do you want to do?
   1) Install Stable Diffusion
   2) Run Stable Diffusion in Browser
   3) Run Stable Diffusion in Terminal
   4) Upscale a picture with Real-ESRGAN upscaler
   5) Uninstall Stable Diffusion
   6) Exit
Select an option [1-6]: 2
Starting Stable Diffusion Web UI
Reload your browser page once the command below will be showing 'Started Stable Diffusion dream server!'
python3: can't open file ~/stable-diffusion/stable-diffusion/scripts/dream.py': [Errno 2] No such file or directory

cplr avatar Sep 22 '22 21:09 cplr

The issue come that the Stable Diffusion github project has been renamed. I will fix this.

glonlas avatar Sep 26 '22 05:09 glonlas

@cplr Could you try with the latest main branch? It should have been fixed.

glonlas avatar Sep 27 '22 07:09 glonlas

I have a different error now:

Select an option [1-6]: 2
Starting Stable Diffusion Web UI
Reload your browser page once the command below will be showing 'Started Stable Diffusion dream server!'
Traceback (most recent call last):
  File "~/stable-diffusion/InvokeAI/scripts/dream.py", line 12, in <module>
    import ldm.dream.readline
ModuleNotFoundError: No module named 'ldm'

cplr avatar Sep 27 '22 20:09 cplr

Seems the installation of the packages/dependency did not work properly. I need to find a way to reproduce it.

glonlas avatar Oct 02 '22 10:10 glonlas