Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ОШИБКА: невозможно импортировать имя «TypeAliasType» из «typing_extensions» #951

SofyaXXX started this conversation in General
Discussion options

!pip install typing_extensions==4.8.0
from typing_extensions import TypeAlias

!pip install nest_asyncio
import nest_asyncio
nest_asyncio.apply()

try:
from aiogram import Bot, Dispatcher, executor, types
except:
!pip install aiogram
from aiogram import Bot, Dispatcher, executor, types

Выводит: ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' (/usr/local/lib/python3.10/dist-packages/typing_extensions.py)
Помогите решить данную проблему

You must be logged in to vote

Replies: 1 comment

Comment options

Код выполняется в Google Colab

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.