-
Notifications
You must be signed in to change notification settings - Fork 65
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 'Protocol' #150
Comments
下面是我的库的版本 |
已解决,版本不匹配,退回graia-application-maria==0.19版本就OK了 |
你好,我遇到了如标题的问题,我的库版本是如下,请问我应该如何解决!
Traceback (most recent call last):
File "F:/Python_proj/Robot_transfer_msg/QQMsgTransfer/testRobot.py", line 1, in
from graia.broadcast import Broadcast
File "D:\ProgramData\Anaconda3\envs\robot\lib\site-packages\graia\broadcast_init_.py", line 8, in
from .builtin.event import ExceptionThrowed
File "D:\ProgramData\Anaconda3\envs\robot\lib\site-packages\graia\broadcast\builtin\event.py", line 4, in
from ..entities.event import Dispatchable
File "D:\ProgramData\Anaconda3\envs\robot\lib\site-packages\graia\broadcast\entities\event.py", line 2, in
from typing import TYPE_CHECKING, Any, Protocol, Tuple, TypeVar, Union
ImportError: cannot import name 'Protocol'
image
The text was updated successfully, but these errors were encountered: