本机已经安装好所有的 pip模块,但是在执行 run.py时发生了如下错误,求高手解答下
Traceback (most recent call last):
File "run1.py", line 1, in <module>
from vnpy.event import EventEngine
File "/home/roy-toshiba/vnpy-2.1.8/vnpy/event/init.py", line 1, in <module>
from .engine import Event, EventEngine, EVENT_TIMER
File "/home/roy-toshiba/vnpy-2.1.8/vnpy/event/engine.py", line 23
self.type: str = type
^
SyntaxError: invalid syntax