Ice9Coffee / HoshinoBot

A qqbot for Princess Connect Re:Dive (and other usage :)
GNU General Public License v3.0
1.41k stars 411 forks source link

请问这是什么情况 #245

Closed dgkkjt closed 1 year ago

dgkkjt commented 1 year ago

开启arena后会报错 SyntaxError: invalid syntax [2022-08-25 06:38:06,935 nonebot] ERROR: Failed to import "hoshino.modules.priconne.arena", error: invalid syntax (, line 1) [2022-08-25 06:38:06,936 nonebot] ERROR: invalid syntax (, line 1) Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/nonebot/plugin.py", line 263, in load_plugin module = importlib.import_module(module_path) File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/root/HoshinoBot/hoshino/modules/priconne/arena/init.py", line 21, in from . import arena File "", line 1 (payload=) ^ SyntaxError: invalid syntax

Ice9Coffee commented 1 year ago

请用python3.8