掘金社区

安装环境后运行自带例子程序提示ImportError: cannot import name 'NoReturn'Pinned highlighted

180989***458 发表在问题反馈 2019-03-17 19:24:27

问题反馈
242
1
0

安装好了客户端和gm模块,运行自带的一个“全部事件驱动”策略,提示
C:\Users\12127>python C:\Users\12127.goldminer3\projects\9b5800ba-4853-11e9-b513-164f8a6181ef\main.py
Traceback (most recent call last):
File "C:\Users\12127.goldminer3\projects\9b5800ba-4853-11e9-b513-164f8a6181ef\main.py", line 4, in <module>
from typing import List, NoReturn,Text
ImportError: cannot import name 'NoReturn'

评论: 1

Looks like your connection to 掘金量化社区 - 量化交易者的策略交流学习社区 was lost, please wait while we try to reconnect.