lm-sys / lm-sys/FastChat

cannot import name 'Doc' from 'typing_extensions'

Open
#2,676 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Hi there. I am trying to install and run serving web GUI but keep getting this error when launching the controller [Import Error: cannot import name 'Doc' from 'typing_extensions']. Any ideas how to fix this?

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 by reproducing the serving web GUI launch and inspect the controller entry point where importing Doc from typing_extensions fails. Check the installed dependency versions and determine the compatible dependency or code change; done means the controller launches without this ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.