I cannot import name 'TypeAliasType' from 'typing_extensions'

11.3k Views Asked by At

I am new to Python and found the following error like that. I would really appreciate your comments. Thanks I try to import Gradio library as gr

I've tried several existing suggestions, but the results are in vain. I don't know what to do

1

There are 1 best solutions below

0
On

If your are on colab just restart your runtime and then run the code line again. Note: When ever you install gradio restart your runtime.
Install gradio as:
!pip install jiwer
!pip install gradio typing-extensions