VeighNa量化社区
你的开源社区量化交易平台
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
加入于:
帖子: 4618
声望: 284

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

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

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

Member
avatar
加入于:
帖子: 4618
声望: 284

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

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

沪公网安备 31011502017034号

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