Skip to content

问题解决 #13

Description

@yuanzhenhuan

问题
Ubuntu2004运行python NPYViewer.py报错,Qt 平台插件 xcb

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

可以通过解决
export QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins

解决后,可以正常打开,但是终端仍然显示了一个错误,是 xkbcommon(一个用于处理键盘布局的库)

xkbcommon: ERROR: failed to add default include path /home/oem/anaconda3/share/X11/xkb

可以通过解决
export XKB_CONFIG_ROOT=/usr/share/X11/xkb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions