Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'FSMContext' from 'aiogram.dispatcher' #16

Open
PlugManYT opened this issue Dec 28, 2024 · 1 comment
Open

cannot import name 'FSMContext' from 'aiogram.dispatcher' #16

PlugManYT opened this issue Dec 28, 2024 · 1 comment

Comments

@PlugManYT
Copy link

PlugManYT commented Dec 28, 2024

Traceback (most recent call last):
File "C:\GameizStore\app.py", line 3, in
import handlers
File "C:\GameizStore\handlers_init_.py", line 1, in
from .admin import dp
File "C:\GameizStore\handlers\admin_init_.py", line 1, in
from .add import dp
File "C:\GameizStore\handlers\admin\add.py", line 2, in
from aiogram.dispatcher import FSMContext
ImportError: cannot import name 'FSMContext' from 'aiogram.dispatcher' (C:\Users\Cyber PC\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\aiogram\dispatcher_init_.py)

@NikolaySimakov
Copy link
Owner

NikolaySimakov commented Dec 29, 2024

Install aiogram==2.9.2 or aiogram==2.+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants