VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 4
声望: 0

菜鸟初步接触,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'?

同时,弹窗有个空白页面,提示触发异常(未响应)。网上找了好多教程都无法解决,也把库重新安装了,还是报错!
求助各位大神帮忙看看,该如何解决这个问题,万分感谢!!

LLM学员
avatar
加入于:
帖子: 1534
声望: 111

pip install PySide6==6.3.0

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

MTF wrote:

pip install PySide6==6.3.0
太感谢了,降了python版本,并且指定了pyside6的版本后成功了!

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

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】