简体   繁体   English

Spyder无法在Ubuntu的Anaconda中启动

[英]Spyder fails to launch in Anaconda on Ubuntu

I installed Anaconda on Ubuntu 16.04 and when I want to launch spyder, I get the following error messages: 我在Ubuntu 16.04上安装了Anaconda,当我想启动spyder时,出现以下错误消息:

max@r-stats01:~$ conda install spyder
Solving environment: done

# All requested packages already installed.

max@r-stats01:~$ spyder
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
Xlib:  extension "XInputExtension" missing on display ":11.0".
[20523:20557:0619/163023.668325:ERROR:gl_surface_qt.cpp(229)] 
GLContextHelper::getXConfig() failed.
[20523:20557:0619/163023.668369:ERROR:gl_surface_qt.cpp(371)] 
GLContextHelper::getEGLDisplay() failed.
[20523:20557:0619/163024.293024:ERROR:gl_surface_qt.cpp(667)] 
Requested OpenGL implementation is not supported. Implementation: 0
QQuickWidget: Failed to make context current
QQuickWidget::resizeEvent() no OpenGL context

There seems to be an OpenGL/ graphics issue, but I don't have a clue how to fix it. 似乎存在OpenGL /图形问题,但是我不知道如何解决它。

( Spyder maintainer here ) This error will be correctly solved in our next version ( 3.3.0 ) to be released in June/2019. 此处为Spyder维护人员 )此错误将在2019年6月发行的下一版本( 3.3.0 )中正确解决。

In the meantime, you can open a terminal and run there 同时,您可以打开一个终端并在那里运行

conda install pyopengl

to get Spyder to work. 让Spyder工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM