mlc-ai / web-stable-diffusion

Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.
https://mlc.ai/web-stable-diffusion
Apache License 2.0
3.51k stars 220 forks source link

ModuleNotFoundError: No module named 'typing_extensions' #27

Open Abdull opened 1 year ago

Abdull commented 1 year ago

Using version https://github.com/mlc-ai/web-stable-diffusion/tree/ce0c2fbd0fffd7ee39e7be9da34052a8809d98db , I wanted to set up web-stable-diffusion "to deploy the model on web with WebGPU runtime" (as outlined at the specific README.md section.

The step scripts/prep_deps.sh failed with

ModuleNotFoundError: No module named 'typing_extensions'

I was able to resolve this issue by installing the typing-extensions module with

pip install typing-extensions

Executing scripts/prep_deps.sh again then finished successfully.

So maybe typing-extensions should be declared as an requirement.