菜鸟初步接触,win10系统,因已装python,就选择了手动安装,按照教程操作步骤,在最后启动VeighNa Trader阶段,报错,代码如下:
D:\8-编程软件\vnpy-3.7.0\examples\veighnatrader>python run.py
Faile to import cython option pricing model, please rebuild with cython in cmd.
找不到数据服务驱动vnpy,使用默认的RQData数据服务
Traceback (most recent call last):
File "D:\8-编程软件\vnpy-3.7.0\examples\veighna_trader\run.py", line 99, in <module>
main()
File "D:\8-编程软件\vnpy-3.7.0\examples\veighna_trader\run.py", line 92, in main
main_window = MainWindow(main_engine, event_engine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\8-编程软件\PYTHON\Lib\site-packages\vnpy\trader\ui\mainwindow.py", line 51, in init
self.init_ui()
File "D:\8-编程软件\PYTHON\Lib\site-packages\vnpy\trader\ui\mainwindow.py", line 56, in init_ui
self.init_dock()
File "D:\8-编程软件\PYTHON\Lib\site-packages\vnpy\trader\ui\mainwindow.py", line 63, in init_dock
self.trading_widget, trading_dock = self.create_dock(
^^^^^^^^^^^^^^^^^
File "D:\8-编程软件\PYTHON\Lib\site-packages\vnpy\trader\ui\mainwindow.py", line 232, in create_dock
dock.setFeatures(dock.DockWidgetFloatable | dock.DockWidgetMovable)
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PySide6.QtWidgets.QDockWidget' object has no attribute 'DockWidgetFloatable'. Did you mean: 'DockWidgetFeature'?
同时,弹窗有个空白页面,提示触发异常(未响应)。网上找了好多教程都无法解决,也把库重新安装了,还是报错!
求助各位大神帮忙看看,该如何解决这个问题,万分感谢!!