Open raphaelquast opened 6 days ago
Hey @raphaelquast, thanks for reporting. Since you made Spyder work under those circumstances, I don't understand very well what's the problem here.
Thanks for the quick response!
Well, I guess my intention here was twofold:
1) Since this the first time this issue appeared (previous installations of Spyder 5.x worked just find out of the box) I just thought I'll report it since it might be connected to changes in 6.x. Also, setting the environment variable every time before starting Spyder is not really nice...
2) I'm not sure if this the proper way to deal with this error... My solution was just a guess that seems to do the job... Am I going to experience any issues while using Spyder because of this?
Thanks
I think this is (most probably) a Qt issue and not a Spyder one. Maybe the Conda-forge Qt package changed the way its integrated with OpenGL. @hmaarrfk, do you know something about that?
A possible solution could be to install system libraries on the remote server that are required for OpenGL to work.
is the assumption that they are using conda-forge because 6.0.1 does not exist on the default channel?
can you report the full output of both
conda info
conda list
We did change how we interact with X11 at conda-forge, though it should have just "helped".
is the assumption that they are using conda-forge because 6.0.1 does not exist on the default channel?
Yep. Packages take a loong time to be updated in defaults
.
i don't really have access to Ubuntu 20.04 so easily. I tried on 24.04 remotely through
ssh -XC myserver
and then installed from conda-forge + spdyer 6.0.1 + PyQt5. seems ok.
Hey, thanks a lot for the follow-up and for all your work here!
To get a clean test for my issue I created a fresh environment (using miniforge
) with
conda create -n spydertest -c conda-forge spyder python=3.12
Trying to start spyder
over x11 then results in the following error-message:
qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Could not initialize GLX
Aborted (core dumped)
conda info
conda list
what is in the type of machine that you are connecting from?
Windows? OSX? Ubuntu XX.04???
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
After installation of a fresh conda environment with only spyder 6 and some packages, spyder won't start (over ssh + X11) and the following traceback is printed:
After a bit of searching, I found that setting the following environment variable makes spyder start as expected:
However, now the following warning appears:
Versions
Dependencies