在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