FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

ModuleNotFoundError: No module named 'prompt_toolkit'

Open Asory2010 opened this issue 1 year ago • 3 comments

it show this error: ModuleNotFoundError: No module named 'prompt_toolkit' but when i run pip install prompt_toolkit or pip install -U prompt-toolkit it say: Requirement already satisfied: prompt_toolkit in c:\users\asser\miniconda3\lib\site-packages (3.0.38) Requirement already satisfied: wcwidth in c:\users\asser\miniconda3\lib\site-packages (from prompt_toolkit) (0.2.6)

Asory2010 avatar Apr 13 '23 10:04 Asory2010

im running into the same issue :(

wombus23 avatar Apr 30 '23 17:04 wombus23

I have no idea what this issue is caused. I do not think we have a dependency on the package prompt_toolkit? CC @merrymercy

zhisbug avatar May 08 '23 07:05 zhisbug

Our CLI with rich style ouput used it.

merrymercy avatar May 08 '23 09:05 merrymercy

how to resolve this problem?

Huangyajuan-123 avatar Jul 12 '23 06:07 Huangyajuan-123

python3 -m pip install prompt-toolkit

This worked for me

tonxxd avatar Jul 24 '23 12:07 tonxxd

I solved this problem by sudo pip3 install "fschat[model_worker,webui]" or sudo pip3 install -e ".[model_worker,webui]"

Sunstroperao avatar Mar 29 '24 03:03 Sunstroperao