vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 3
声望: 0

主机环境: ubuntu 20.04 64 bit
源码 : vnpy 1.9.2-LTS
缺少模块,求指点
h@h-ThinkPad-R400:~/桌面/vnpy/examples/VnTrader$ python run.py
Traceback (most recent call last):
  File "run.py", line 28, in <module>
    from vnpy.trader.gateway import (
  File "/home/h/anaconda2/lib/python2.7/site-packages/vnpy-1.9.2-py2.7.egg/vnpy/trader/gateway/miniGateway/init.py", line 5, in <module>
    from .miniGateway import MiniGateway
  File "/home/h/anaconda2/lib/python2.7/site-packages/vnpy-1.9.2-py2.7.egg/vnpy/trader/gateway/miniGateway/miniGateway.py", line 16, in <module>
    from vnpy.api.mini import MdApi, TdApi, defineDict
  File "/home/h/anaconda2/lib/python2.7/site-packages/vnpy-1.9.2-py2.7.egg/vnpy/api/mini/init.py", line 4, in <module>
    from .vnctpmd import MdApi
ImportError: No module named vnctpmd

Administrator
avatar
加入于:
帖子: 3913
声望: 208

1.9.2太老了,请使用2.1.3.1版本

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3