nipy / PySurfer

Cortical neuroimaging visualization in Python
https://pysurfer.github.io/
BSD 3-Clause "New" or "Revised" License
239 stars 98 forks source link

Crash on Fedora 37 QSocketNotifier: Can only be used with threads started with QThread #317

Open knutj opened 1 year ago

knutj commented 1 year ago

I am using the latest version of pysurfer with python 3.10. The system is Fedora 37 with wayland and nvidia gbm. QSocketNotifier: Can only be used with threads started with QThread Traceback (most recent call last): File "/home/knutjb/.local/bin/pysurfer", line 9, in from surfer._commandline import parser File "/home/knutjb/.local/lib/python3.11/site-packages/surfer/init.py", line 1, in from .viz import Brain, TimeViewer # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/knutjb/.local/lib/python3.11/site-packages/surfer/viz.py", line 25, in from . import utils, io File "/home/knutjb/.local/lib/python3.11/site-packages/surfer/utils.py", line 1, in from collections import Sequence ImportError: cannot import name 'Sequence' from 'collections' (/usr/lib64/python3.11/collections/init.py)