Error TimeDecoding

Does anyone know why the line ā€œfrom mne.decoding import TimeDecodingā€ gives the following error: "cannot import name ā€˜TimeDecodingā€™ from ā€˜mne.decodingā€™ "?
(Iā€™m using macOS Big Sur, python 3.8.5)

are you sure mne is installed on your system?
if so what version do you have running?

use:

mne.sys_info()

Alex

1 Like

Yes! I get this output:

mne: 0.22.1
numpy: 1.19.2
scipy: 1.5.2
matplotlib: 3.3.2
sklearn: 0.23.2

TimeDecoding was replaced by SlidingEstimator in version 0.15

1 Like