mne-tools/mne-icalabel

No module named 'numpy.typing'

CarinaFo opened this issue · 2 comments

mne-icalabel 0.4
mne 1.1.1
linux

error occurs while importing mne-icalabel

@CarinaFo which version of numpy do you have installed?

Anyway, there is an error on our side. numpy.typing was introduced in 1.20, and numpy.typing.NDArray in 1.21.
And we have a requirement of 1.16

'numpy >= 1.16.0',

I fixed the requirement in 2a20183