【发布时间】:2017-07-10 09:09:03
【问题描述】:
我在 DigitalOcean VM 上,我正在尝试在安装 Anaconda 后启动 spyder。我正在使用 Python 3.5.2 和 Anaconda 4.3.0(64 位)。该虚拟机具有 Ubuntu 16.04.1 x64。当我尝试启动 spyder 时,我收到以下错误:
此应用程序无法启动,因为它无法找到或加载 Qt 平台插件“xcb” 在“”中。
可用的平台插件有:minimal、offscreen、xcb。
觉得我越来越暖和了。根据以下内容,如何将符号链接添加到正确的库中?
myuser@ubuntu-003-2x:~/anaconda3/plugins/platforms$ !422
apt-file search libSM.so.6
libsm6: /usr/lib/x86_64-linux-gnu/libSM.so.6
libsm6: /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
myuser@ubuntu-003-2x:~/anaconda3/plugins/platforms$ !442
ldd libqxcb.so | grep not
libSM.so.6 => not found
libICE.so.6 => not found
libXrender.so.1 => not found
libSM.so.6 => not found
libICE.so.6 => not found
libXrender.so.1 => not found
重新安装应用程序可能会解决此问题。 中止(核心转储)
【问题讨论】:
-
你的 VM 中安装了 Xorg 吗?
标签: python qt plugins anaconda spyder