環境
ubuntu16.04+pycharm2019
安裝
pip3 install pyside2 -i https://pypi.douban.com/simple/
安裝完沒找到,直接在pycharm設置裏面裝的
運行問題
1、錯誤1
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.
Aborted (core dumped)
解決:
安裝libxcb-xinerama0
參考:https://blog.csdn.net/zhanghm1995/article/details/106474505?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-1