Python PyQt5“;xcb";找不到
我用Qt设计器创建了一个应用程序。当我启动应用程序时,它会抛出以下错误:Python PyQt5“;xcb";找不到,python,qt,pyqt5,archlinux,Python,Qt,Pyqt5,Archlinux,我用Qt设计器创建了一个应用程序。当我启动应用程序时,它会抛出以下错误: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this problem. Aborted (core dumped) 错误抛出,然后程序执行此行: app = QtWidgets.QApp
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Reinstalling the application may fix this problem.
Aborted (core dumped)
错误抛出,然后程序执行此行:
app = QtWidgets.QApplication(sys.argv)
这看起来好像缺少一些依赖项如何解决此问题?
我试图重新安装libxcb
,但没有效果
注意:我正在使用manjaro linux和python 3.5.2
p.p.S.:我收到这个错误,然后尝试启动
ipython qtconsole
问题在于我用sudo安装了anaconda,而用sudo则一切正常。我在没有sudo的情况下重新安装了anaconda,现在一切正常了这个命令的输出是什么:ldd/usr/lib/qt/plugins/platforms/libqxcb.sosecond命令?@eyllansc,是ldd/usr/lib/qt/plugins/platforms/libqxcb的输出。所以
试试:sudo ln-sf/usr/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms///@eyllansc,没有帮助。我没有/usr/lib/x86\u 64-linux-gnu/
文件夹很重要吗?但是我找到了/usr/lib/qt/
和/usr/lib/qt4/