vnpy2.03@windows环境,手动安装,python run.py后碰到两个情况:
1、tiger的接口报错,如下:
Traceback (most recent call last):
File "run.py", line 12, in <module>
from vnpy.gateway.tiger import TigerGateway
File "C:\Anaconda3\lib\site-packages\vnpy\gateway\tiger__init__.py", line 1, in <module>
from .tiger_gateway import TigerGateway
File "C:\Anaconda3\lib\site-packages\vnpy\gateway\tiger\tiger_gateway.py", line 22, in <module>
from tigeropen.trade.domain.order import ORDER_STATUS
ImportError: cannot import name 'ORDER_STATUS' from 'tigeropen.trade.domain.order' (C:\Anaconda3\lib\site-packages\tiger
open\trade\domain\order.py)
目前注释了run.py中导入和添加接口(第12行和第42行),代码可以运行到主界面。
2、其他报错:
运行后,报错如下:
\conda3\lib\site-packages\deap\tools_hypervolume\pyhv.py:33: ImportWarning: Falling back to the python version of
hypervolume module. Expect this to be very slow.
"module. Expect this to be very slow.", ImportWarning)
似乎是模块不兼容,会导致模块运行速度降低,给出的警示