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

升级2.0.7之后运行examples里的run出现,之前使用2.0.6在mac下是能跑起来的,
Traceback (most recent call last):
File "/Users/anaconda3/envs/VNPY/lib/python3.7/site-packages/vnpy/project/run.py", line 4, in <module>
from vnpy.trader.engine import MainEngine
File "/Users/anaconda3/envs/VNPY/lib/python3.7/site-packages/vnpy/trader/engine.py", line 15, in <module>
from .app import BaseApp
ImportError: cannot import name 'BaseApp' from 'vnpy.trader.app'

Administrator
avatar
加入于:
帖子: 3011
声望: 135

这里因该是升级失败了,vnpy库没有完全安装到site-packages里

Member
avatar
加入于:
帖子: 21
声望: 0

vnpy2.0.7报错:ModuleNotFoundError: No module named 'vnpy.trader.engine',大家知道是什么原因吗

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