ImportError: cannot import name '_import_fft' from 'mne.fixes'

Hello everyone,

I have downloaded MNE python before and had no issues, but for some reason when I try to download it on this specific PC I keep having the error:

ImportError: cannot import name ‘_import_fft’ from ‘mne.fixes’

It occurs when I try to import mne. I am wondering if anyone is familiar with this issue and knows how to fix it?

I am using MNE version 0.22.0 with Windows 10.

Thanks very much!

Hello, this error is due to _import_fft not existing in version 0.22 in this file.
You can take a look at the file fixes.py from which you attempt to import _import_fft:

Could you please share the full traceback of the error and the output of mne.sys_info() (if you manage to run it).

I would also recommend running the latest version of MNE.

Hi,

Can you paste the full traceback? either it’s a different package or it’s an install problem I think

Alex

Thank you to everyone who responded! I realized it was an installation error and once I uninstalled and reinstalled MNE, the issue was fixed.

Thanks!