my system is ubuntu 18.04, when installing mne, now python is automatically installed version 3.10.0, however, it will lead the problem that cannot run the programme.
heres the code:
(mne) root@clifford-Alienware-15:~/Documents/dongyang/codes# python split_code_v3.py
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Traceback (most recent call last):
File "/home/clifford/Documents/dongyang/codes/split_code_v3.py", line 10, in <module>
from surfer import Brain
File "/home/clifford/miniconda3/envs/mne/lib/python3.10/site-packages/surfer/__init__.py", line 1, in <module>
from .viz import Brain, TimeViewer # noqa
File "/home/clifford/miniconda3/envs/mne/lib/python3.10/site-packages/surfer/viz.py", line 25, in <module>
from . import utils, io
File "/home/clifford/miniconda3/envs/mne/lib/python3.10/site-packages/surfer/utils.py", line 1, in <module>
from collections import Sequence
ImportError: cannot import name 'Sequence' from 'collections' (/home/clifford/miniconda3/envs/mne/lib/python3.10/collections/__init__.py)
how to solve this ?
thanks for your answer!