您的位置:首页 > 移动开发

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

2017-07-13 11:32 876 查看
安装完anaconda,打开spyder时,出现This application failed to start because it could not find or load the Qt platform plugin “xcb”。如图



谷歌好久终于找到解决方案。步骤如下:

sudo gedit ~/.bashrc
[在最后一行写入]export QT_PLUGIN_PATH=<你自己安装anaconda的路径>/anaconda/plugins
source ~/.bashrc   (刷新一下)


大功告成
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐