ubuntu16.04下anaconda 的奇葩问题

xiaoxiao2021-02-28  29

在ubuntu16.04下安装完anaconda后,发现spyder或者anaconda navigator打不开.

This application failed to start because it could not find or load the Qt platform plugin "xcb"

in "". Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. Reinstalling the application may fix this problem.

已放弃 (核心已转储)

然后就试了一下安装qt5,安装完了也不行,那就继续安装pyqt5还是不行

其实只是找不到这几个库文件而已

把qt5的库文件加到/.bashrc里面,然后在source /.bashrc即可

export LD_LIBRARY_PATH=/home/x/local/qt/5.9.1/gcc_64/lib/:$LD_LIBRARY_PATH
转载请注明原文地址: https://www.6miu.com/read-2629612.html

最新回复(0)