Closed EXarchive closed 1 year ago
更新py版本到3.10以上 要不就修改代码以兼容旧版
From: @.> Date: Sat, Sep 30, 18:18 Subject: [kexue-z/nonebot-plugin-setu-now] 安装后报错 (Issue #62) To: @.> Cc: @.***> Traceback (most recent call last):
File "main.pyhttp://main.py", line 15, in
yunzai_nonebot.loadplugin(plugin.replace("-", ""))
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\py-plugin-p8kRwHxt-py3.8\lib\site-packages\nonebot\plugin\load.pyhttp://load.py", line 39, in load_plugin
return manager.load_plugin(module_path)
File "C:\Users\Administrator\Miao-Yunzai\plugins\py-plugin\yunzai_nonebot\hijack\plugin.pyhttp://plugin.py", line 16, in load_plugin
module = importlib.import_module(name)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\importlibinit.pyhttp://_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\py-plugin-p8kRwHxt-py3.8\lib\site-packages\nonebot\plugin\manager.pyhttp://manager.py", line 242, in exec_module
super().exec_module(module)
File "", line 848, in exec_module
File "", line 219, in call_with_frames_removed
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\py-plugin-p8kRwHxt-py3.8\lib\site-packages\nonebot_plugin_setu_now_init.py", line 8, in
from typing import Any, Union, Annotated — Reply to this email directly, view it on GitHubhttps://github.com/kexue-z/nonebot-plugin-setu-now/issues/62, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARELD2TMOG72W5FPRQFZNPTX47WWVANCNFSM6AAAAAA5NOTSSI. You are receiving this because you are subscribed to this thread.[image: https://github.com/notifications/beacon/ARELD2R2V7VDIN6Y4HRFDJ3X47WWVA5CNFSM6AAAAAA5NOTSSKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHE4733A.gif]Message ID: @.***>
Traceback (most recent call last): File "main.py", line 15, in
yunzai_nonebot.loadplugin(plugin.replace("-", ""))
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\py-plugin-p8kRwHxt-py3.8\lib\site-packages\nonebot\plugin\load.py", line 39, in load_plugin
return manager.load_plugin(module_path)