FahimF / sd-gui

Clean and simple Stable Diffusion GUI for macOS, Windows, and Linux
MIT License
230 stars 17 forks source link

ModuleNotFoundError: No module named 'darkdetect' #18

Closed MartinTale closed 1 year ago

MartinTale commented 1 year ago

Getting error below

(ml) C:\Users\me\StableDiffusion\sd-gui>python app.py
Traceback (most recent call last):
  File "C:\Users\me\StableDiffusion\sd-gui\app.py", line 11, in <module>
    from ui.generator_tab import GeneratorTab
  File "C:\Users\me\StableDiffusion\sd-gui\ui\generator_tab.py", line 11, in <module>
    from ui.expander import Expander
  File "C:\Users\me\StableDiffusion\sd-gui\ui\expander.py", line 1, in <module>
    import darkdetect
ModuleNotFoundError: No module named 'darkdetect'
FahimF commented 1 year ago

You would need to install the darkdetect package, which was added today to fix a reported bug, by running pip install from terminal like this:

pip install darkdetect

If that doesn't solve the issue, please let me know.

MartinTale commented 1 year ago

That fixes it ;) Thanks :)