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