stable-diffusion-webui-docker icon indicating copy to clipboard operation
stable-diffusion-webui-docker copied to clipboard

After building to run, get 12 file errors and ImportError

Open F1zzyD opened this issue 1 year ago • 2 comments

Has this issue been opened before?

  • [ x] It is not in the FAQ, I checked.
  • [x ] It is not in the issues, I searched.

Describe the bug

Followed the directions to install using docker. Step two of building and running fails with the following output during a clean install: auto-1 | Traceback (most recent call last): auto-1 | File "/stable-diffusion-webui/webui.py", line 13, in auto-1 | initialize.imports() auto-1 | File "/stable-diffusion-webui/modules/initialize.py", line 23, in imports auto-1 | import gradio # noqa: F401 auto-1 | File "/opt/conda/lib/python3.10/site-packages/gradio/init.py", line 3, in auto-1 | import gradio.components as components auto-1 | File "/opt/conda/lib/python3.10/site-packages/gradio/components/init.py", line 3, in auto-1 | from gradio.components.bar_plot import BarPlot auto-1 | File "/opt/conda/lib/python3.10/site-packages/gradio/components/bar_plot.py", line 7, in auto-1 | import altair as alt auto-1 | File "/opt/conda/lib/python3.10/site-packages/altair/init.py", line 650, in auto-1 | from altair.vegalite import * auto-1 | File "/opt/conda/lib/python3.10/site-packages/altair/vegalite/init.py", line 2, in auto-1 | from .v5 import * auto-1 | File "/opt/conda/lib/python3.10/site-packages/altair/vegalite/v5/init.py", line 2, in auto-1 | from altair.expr.core import datum auto-1 | File "/opt/conda/lib/python3.10/site-packages/altair/expr/init.py", line 7, in auto-1 | from altair.expr.core import ConstExpression, FunctionExpression auto-1 | File "/opt/conda/lib/python3.10/site-packages/altair/expr/core.py", line 6, in auto-1 | from altair.utils import SchemaBase auto-1 | File "/opt/conda/lib/python3.10/site-packages/altair/utils/init.py", line 14, in auto-1 | from .plugin_registry import PluginRegistry auto-1 | File "/opt/conda/lib/python3.10/site-packages/altair/utils/plugin_registry.py", line 6, in auto-1 | from typing_extensions import TypeAliasType, TypeIs, TypeVar auto-1 | ImportError: cannot import name 'TypeIs' from 'typing_extensions' (/opt/conda/lib/python3.10/site-packages/typing_extensions.py)

Which UI

Auto

Hardware / Software

  • OS: [e.g. Windows 10 / Ubuntu 22.04]
  • OS version: Ubuntu 22.04
  • Docker Version: 27.2.0
  • Docker compose version: 2.29.2
  • Repo version: from master
  • RAM: 32
  • GPU/VRAM: Not applicable

Steps to Reproduce

  1. Go to the install guide
  2. Click on follow step 1 with no error.
  3. Follow step two to receive error.

Additional context Just really frustrating to see that all guides on how to install Stable Diffusion WebUI are either outdated or broken for Linux. Can't seem to find anything that works.

F1zzyD avatar Sep 01 '24 05:09 F1zzyD