vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 1
声望: 0

我在腾讯云的uduntu服务器上,按照文档中教程安成功vnpy后,运行example/vn_trade/目录下的 run.py, 出现如下错误:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

请问各位大神,咋解决啊!困扰好几天了

Member
avatar
加入于:
帖子: 2013
声望: 133

可参考https://www.vnpy.com/forum/topic/4978-centos7xia-run-pybu-neng-qi-dong

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

我数据库配置错了,但是ubuntu不知道去哪里重置config。有大神知道吗?

Member
avatar
加入于:
帖子: 2013
声望: 133

可以通过.vntrader文件夹下的vt_setting.json设置

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

沪公网安备 31011502017034号