You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on replit it says that from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'
#20
Open
zenitogr opened this issue
Jun 5, 2024
· 0 comments
from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated
ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'
the whole traceback
2024-06-05 20:41:19.685 Uncaught app exception
Traceback (most recent call last):
File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.__dict__)
File "/home/runner/conversational-chatbot-groq/app.py", line 3, in <module>
from groq import Groq
File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/groq/__init__.py", line 3, in <module>
from . import types
File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/groq/types/__init__.py", line 5, in <module>
from .model import Model as Model
File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/groq/types/model.py", line 5, in <module>
from .._models import BaseModel
File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/groq/_models.py", line 20, in <module>
from pydantic.fields import FieldInfo
File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/pydantic/fields.py", line 18, in <module>
from . import types
File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/pydantic/types.py", line 33, in <module>
from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated
ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' (/nix/store/nv13brd9hw3wbajaxkrgfsngyfjg0xjj-python3.10-typing-extensions-4.5.0/lib/python3.10/site-packages/typing_extensions.py)
The text was updated successfully, but these errors were encountered:
from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated
ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'
the whole traceback
The text was updated successfully, but these errors were encountered: