|
楼主 |
发表于 2021-2-5 16:24:28
|
显示全部楼层
Full traceback:
File "renpy/bootstrap.py", line 326, in bootstrap
renpy.main.main()
File "renpy/main.py", line 515, in main
renpy.game.context().run(node)
File "game/script.rpy", line 2, in script
init python:
File "game/script.rpy", line 2, in script
init python:
File "renpy/ast.py", line 922, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2218, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/script.rpy", line 3, in <module>
from win10toast import ToastNotifier
File "renpy/loader.py", line 985, in load_module
exec(code, mod.__dict__)
File "win10toast/__init__.py", line 15, in <module>
File "renpy/loader.py", line 979, in load_module
code = compile(source, filename, 'exec', renpy.python.old_compile_flags, 1)
SyntaxError: invalid syntax (__init__.py, line 1380)
复制了一份pkg_resources模块到project/game里,现在报了另一个错误 |
|