Closed xiaohao-lin1 closed 2 years ago
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽♂️
Can you post the output of mne.sys_info()
please? It seems like you are using an old version, because tqdm
has been removed from mne.externals
.
You need to update the autoreject package
This issue has been fixed a few months ago
Can you post the output of
mne.sys_info()
please? It seems like you are using an old version, becausetqdm
has been removed frommne.externals
.
Hi I have updated mne.sys_info() in the post
You need to update the autoreject package This issue has been fixed a few months ago
Hi I am currently using autoreject version 0.4.dev0.
I have tried using the stable release of 0.3.1 too, but I encountered the same issue. I am using mne mne: 0.24.0
Can you upgrade mne
? The latest version is 1.0.3, and this includes tqdm
as a dependency.
I think this has been fixed and is an old MNE/autoreject issue
Describe the bug
ImportError: cannot import name 'tqdm' from 'mne.externals' (D:\Users\SCSE-AI.R-CIL1\anaconda3\envs\MoBI_py3.8\lib\site-packages\mne\externals__init__.py)
Steps to reproduce
I was using the autoreject package, which calls upon the MNE package, and encountered this error. from autoreject import AutoReject ar = AutoReject() epochs_clean = ar.fit_transform(epochs)
File "D:\Users\SCSE-AI.R-CIL1\anaconda3\envs\MoBI_py3.8\lib\site-packages\mne\utils\progressbar.py", line 49, in init import tqdm ImportError: cannot import name 'tqdm' from 'mne.externals' (D:\Users\SCSE-AI.R-CIL1\anaconda3\envs\MoBI_py3.8\lib\site-packages\mne\externals__init__.py)
Expected results
Replace this text with a description of what you expected to happen.
Actual results
Replace this text with the actual output, traceback, screenshot, or other description of the results.
Additional information
mne: 0.24.0 numpy: 1.21.2 {blas=mkl_rt, lapack=mkl_rt} sklearn: 1.0.1 numba: 0.55.2 nibabel: 4.0.1 nilearn: 0.9.1 dipy: 1.5.0 cupy: 9.6.0 pandas: 1.3.4 mayavi: Not found pyvista: Not found pyvistaqt: Not found ipyvtklink: 0.2.2 vtk: 9.0.3 PyQt5: 5.9.2 ipympl: Not found mne_qt_browser: 0.3.1