掘金社区

导入sdk失败Pinned highlighted

廖智海 发表在掘金2 2017-06-05 06:06:06

掘金2
503
0
0

In [1]: from gmsdk.api import StrategyBase

ImportError Traceback (most recent call last)
<ipython-input-1-978535dd85a5> in <module>()
----> 1 from gmsdk.api import StrategyBase

D:ApplicationsAnaconda3libsite-packagesgmsdk_init_.py in <module>()
4 import sys
5 if sys.version_info.major == 3:
----> 6 from .api import md, td, StrategyBase, get_strerror, get_version, set_timeout_val, get_timeout_val
7 from .enums import *
8 from .util import to_dict

D:ApplicationsAnaconda3libsite-packagesgmsdkapi.py in <module>()
10 from . import errors
11 from .util import Event
---> 12 from .gm import *
13 else:
14 from ConfigParser import ConfigParser

ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。</module></module></module></ipython-input-1-978535dd85a5>

暂无评论
相关阅读
  • 问题反馈掘金3 Linux版 python SDK 发布公告
  • Looks like your connection to 掘金量化社区 - 量化交易者的策略交流学习社区 was lost, please wait while we try to reconnect.