错误信息如下:
Traceback (most recent call last):
File "E:\vnstudio\lib\site-packages\vnstation\cli.py", line 90, in run_trader
module = importlib.import_module(d["module"])
File "E:\vnstudio\lib\importlibinit.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "E:\vnstudio\lib\site-packages\vnpy\app\cta_backtesterinit.py", line 5, in <module>
from .engine import BacktesterEngine, APP_NAME
File "E:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 17, in <module>
from vnpy.app.cta_strategy.backtesting import BacktestingEngine, OptimizationSetting
File "E:\vnstudio\lib\site-packages\vnpy\app\cta_strategy\backtesting.py", line 13, in <module>
import plotly.graph_objects as go
ModuleNotFoundError: No module named 'plotly'
重新安装了plotly,但是没有plotly.graph_objects,只有plotly.graph_objs,plotly的版本是“4.9.0”
请问这个问题如何解决?