掘金社区

求助:为什么用策略例子不改动回测总是报错!?Pinned highlighted

135903***054 发表在策略研究 2020-05-13 16:04:32

策略研究
77
1
0

Traceback (most recent call last):
File "D:/Users/Administrator/Desktop/f188a736-94da-11ea-bc00-94de80b64016/main.py", line 3, in <module>
from gm.api import *
File "C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\gm\api_init_.py", line 11, in <module>
from gm.model.storage import Context
File "C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\gm\model_init_.py", line 6, in <module>
from typing import NoReturn, Text, Optional
ImportError: cannot import name 'NoReturn'

评论: 1

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