Spyder on Yggrasil

Dear admins and users,

I have huge trouble using MNE-Python on Yggdrasil. In baobab, a simple code allows me to use spyder after MNE-Python pip installation of a MNE environnement and Spyder installed using anaconda-navigator

Blockquote
module load Anaconda3
conda activate mne
spyder

In Yggdrasil I run into errors, you cannot install spyder in this environnement or Failed to initialize GLX. The node attribution have the flag X11

Is there somthing I am doing wrong?

Best

Damien

Update : l’output terminal aprés une clean install de Spyder sur un environnement dédié

Blockquote
X server does not support XInput 2
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-benis’
qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::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 QFlagsQSurfaceFormat::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

I tried

Blockquote
(spyder) (yggdrasil)-[benis@login1 ~]$ module load GCC/9.3.0 OpenMPI/4.0.3
(spyder) (yggdrasil)-[benis@login1 ~]$ module load Spyder/4.1.5
(spyder) (yggdrasil)-[benis@login1 ~]$ spyder

Results :

Blockquote
Traceback (most recent call last):
File “/home/benis/.conda/envs/spyder/bin/spyder”, line 7, in
from spyder.app.start import main
File “/opt/ebsofts/Spyder/4.1.5-foss-2020a-Python-3.8.2/lib/python3.8/site-packages/spyder/app/start.py”, line 21, in
import zmq
File “/opt/ebsofts/IPython/7.15.0-foss-2020a-Python-3.8.2/lib/python3.8/site-packages/zmq/init.py”, line 47, in
from zmq import backend
File “/opt/ebsofts/IPython/7.15.0-foss-2020a-Python-3.8.2/lib/python3.8/site-packages/zmq/backend/init.py”, line 40, in
reraise(*exc_info)
File “/opt/ebsofts/IPython/7.15.0-foss-2020a-Python-3.8.2/lib/python3.8/site-packages/zmq/utils/sixcerpt.py”, line 34, in reraise
raise value
File “/opt/ebsofts/IPython/7.15.0-foss-2020a-Python-3.8.2/lib/python3.8/site-packages/zmq/backend/init.py”, line 27, in
_ns = select_backend(first)
^^^^^^^^^^^^^^^^^^^^^
File “/opt/ebsofts/IPython/7.15.0-foss-2020a-Python-3.8.2/lib/python3.8/site-packages/zmq/backend/select.py”, line 28, in select_backend
mod = import(name, fromlist=public_api)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/ebsofts/IPython/7.15.0-foss-2020a-Python-3.8.2/lib/python3.8/site-packages/zmq/backend/cython/init.py”, line 6, in
from . import (constants, error, message, context,
ImportError: cannot import name ‘constants’ from partially initialized module ‘zmq.backend.cython’ (most likely due to a circular import) (/opt/ebsofts/IPython/7.15.0-foss-2020a-Python-3.8.2/lib/python3.8/site-packages/zmq/backend/cython/init.py)
(spyder) (yggdrasil)-[benis@login1 ~]$

Dear Damien,

Did you solve the issue, I have done some research but this is not trivial. Let me know if you need more help.

Best regards,