云服务器成功安装了vnstudio,利用run.py脚本直接启动vn_trader报错、无法打开,采用python - m vnstation登陆后、在可以正常启动vn_trader。
报错信息如下:
PS C:\Trader_1> python run.py
Traceback (most recent call last):
File "run.py", line 4, in <module>
from vnpy.trader.engine import MainEngine
File "C:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 45, in <module>
from .setting import SETTINGS
File "C:\vnstudio\lib\site-packages\vnpy\trader\setting.py", line 9, in <module>
from .utility import load_json
File "C:\vnstudio\lib\site-packages\vnpy\trader\utility.py", line 15, in <module>
import talib
File "C:\vnstudio\lib\site-packages\talib__init.py", line 43, in <module>
from ._ta_lib import (
File "_abstract.pxi", line 34, in init talib._ta_lib
File "C:\vnstudio\lib\site-packages\pandas\init.py", line 55, in <module>
from pandas.core.api import (
File "C:\vnstudio\lib\site-packages\pandas\core\api.py", line 29, in <module>
from pandas.core.groupby import Grouper, NamedAgg
File "C:\vnstudio\lib\site-packages\pandas\core\groupby\init__.py", line 1, in <module>
from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg, SeriesGroupBy
File "C:\vnstudio\lib\site-packages\pandas\core\groupby\generic.py", line 60, in <module>
from pandas.core.frame import DataFrame
File "C:\vnstudio\lib\site-packages\pandas\core\frame.py", line 124, in <module>
from pandas.core.series import Series
File "C:\vnstudio\lib\site-packages\pandas\core\series.py", line 122, in <module>
class Series(base.IndexOpsMixin, generic.NDFrame):
File "C:\vnstudio\lib\site-packages\pandas\core\series.py", line 4562, in Series
plot = CachedAccessor("plot", pandas.plotting.PlotAccessor)
AttributeError: module 'pandas' has no attribute 'plotting'
PS C:\Trader_1> PS C:\Trader_1> python run.py