mlc-ai / mlc-ai/web-stable-diffusion

ModuleNotFoundError: No module named 'typing_extensions'

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
3.7k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked README setup section and run scripts/prep_deps.sh to reproduce the missing typing_extensions error. Inspect the dependency declarations used by that setup, then verify that a clean setup completes without requiring a manual pip install of typing-extensions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.