尝试使用 Anaconda 启动 Spyder 时出错
Error when trying to Launch Spyder using Anaconda
我在 DigitalOcean VM 上,我正在尝试在安装 Anaconda 后启动 spyder。我正在使用 Python 3.5.2 和 Anaconda 4.3.0(64 位)。 VM 具有 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
重新安装应用程序可能会解决此问题。
已中止(核心已转储)
试试这个:
conda update conda
conda update anaconda
unset QT_PLUGIN_PATH
Reference
(代表OP发表).
感谢您的回复。他们帮助解决了问题。 Spyder 现在将启动!解决方法如下:
sudo apt-get install xcb
export DISPLAY=localhost:10.0
我在 DigitalOcean VM 上,我正在尝试在安装 Anaconda 后启动 spyder。我正在使用 Python 3.5.2 和 Anaconda 4.3.0(64 位)。 VM 具有 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
重新安装应用程序可能会解决此问题。 已中止(核心已转储)
试试这个:
conda update conda
conda update anaconda
unset QT_PLUGIN_PATH
Reference
(代表OP发表).
感谢您的回复。他们帮助解决了问题。 Spyder 现在将启动!解决方法如下:
sudo apt-get install xcb
export DISPLAY=localhost:10.0