简体   繁体   中英

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:

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.

( Spyder maintainer here ) This error will be correctly solved in our next version ( 3.3.0 ) to be released in June/2019.

In the meantime, you can open a terminal and run there

conda install pyopengl

to get Spyder to work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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