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
Describe the bug
Cannot import the module on python 3.10
To Reproduce
Steps to reproduce the behavior:
from mirai_core import Bot, Updater
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
...
May 15 13:17:07 host ehforwarderbot[234313]: File "/var/lib/efb/.local/lib/python3.10/site-packages/efb_qq_plugin_mirai/mirai.py", line 16, in <module>
May 15 13:17:07 host ehforwarderbot[234313]: from mirai_core import Bot, Updater
May 15 13:17:07 host ehforwarderbot[234313]: File "/var/lib/efb/.local/lib/python3.10/site-packages/mirai_core/__init__.py", line 1, in <module>
May 15 13:17:07 host ehforwarderbot[234313]: from .bot import Bot
May 15 13:17:07 host ehforwarderbot[234313]: File "/var/lib/efb/.local/lib/python3.10/site-packages/mirai_core/bot.py", line 9, in <module>
May 15 13:17:07 host ehforwarderbot[234313]: from .models.Types import NewFriendRequestResponse, MemberJoinRequestResponse
May 15 13:17:07 host ehforwarderbot[234313]: File "/var/lib/efb/.local/lib/python3.10/site-packages/mirai_core/models/__init__.py", line 1, in <module>
May 15 13:17:07 host ehforwarderbot[234313]: from . import Message
May 15 13:17:07 host ehforwarderbot[234313]: File "/var/lib/efb/.local/lib/python3.10/site-packages/mirai_core/models/Message.py", line 7, in <module>
May 15 13:17:07 host ehforwarderbot[234313]: from collections import MutableSequence
May 15 13:17:07 host ehforwarderbot[234313]: ImportError: cannot import name 'MutableSequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
May 15 13:17:07 host ehforwarderbot[234313]: During handling of the above exception, another exception occurred:
May 15 13:17:07 host ehforwarderbot[234313]: Traceback (most recent call last):
...
Version:
Mirai Core 2.10.3
Mirai HTTP API 2.5.0
python_mirai_core 0.10.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Cannot import the module on python 3.10
To Reproduce
Steps to reproduce the behavior:
from mirai_core import Bot, Updater
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Version:
The text was updated successfully, but these errors were encountered: