Python spyder could not initialize GLX
2021-06-10 21:03
标签:item ref ges sim mes style rgba extension blog Whenever I run spyder, It results in the error below 1、Simply try: Then, start the spyder 2、Reinstall some packages: Related: 解决Spyder 黑屏 QOpenGLShader 问题 Ubuntu VNC 打开spyder无法输入(检测不到键盘配置)解决方法 https://stackoverflow.com/questions/42291236/python-spyder-could-not-initialize-glx Python spyder could not initialize GLX 标签:item ref ges sim mes style rgba extension blog 原文地址:https://www.cnblogs.com/jins-note/p/14241135.htmlProblem:
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
Could not initialize GLX
Aborted (core dumped)
Solution:
export QT_XCB_GL_INTEGRATION=none
sudo apt-get install libgl1-mesa-dri
sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dri
sudo dpkg-reconfigure xserver-xorg
上一篇:python进度条显示demo
文章标题:Python spyder could not initialize GLX
文章链接:http://soscw.com/index.php/essay/93310.html