-
MNE-Python version: 0.24.0
-
operating system: Ubuntu 20.04
-
package manager: miniconda3(4.10.3)
Using MNE-Python(0.24.0) and MNE-realtime(0.1.dev0), I tried to run this example.
But the following error has occurred
Traceback (most recent call last):
File "/home/hayapo/OpenBCI_Brainflow/realtime_example/decoding_realtime_data.py", line 17, in <module>
from mne_realtime import MockRtClient, RtEpochs
File "/home/hayapo/.miniconda3/envs/OpenBCI_Brainflow/lib/python3.9/site-packages/mne_realtime/__init__.py", line 14, in <module>
from .lsl_client import LSLClient
File "/home/hayapo/.miniconda3/envs/OpenBCI_Brainflow/lib/python3.9/site-packages/mne_realtime/lsl_client.py", line 12, in <module>
from mne.utils import fill_doc, _check_pylsl_installed
ImportError: cannot import name '_check_pylsl_installed' from 'mne.utils' (/home/hayapo/.miniconda3/envs/OpenBCI_Brainflow/lib/python3.9/site-packages/mne/utils/__init__.py)
In version 0.23.0, _check_pylsl_installed
was defined in mne/utils/check.py
,
def _check_pylsl_installed(strict=True):
"""Aux function."""
try:
import pylsl
return pylsl
except ImportError:
if strict is True:
raise RuntimeError('For this functionality to work, the pylsl '
'library is required.')
else:
return False
and _check_pylsl_installed
was imported in mne/utils/__init__.py
from .check import (..., _check_pylsl_installed, ...)
However, _check_pylsl_installed has removed in PR#9742.
[MAINT, MRG] Enable pooch to perform fetching of datasets #9742.
So MNE-Python v0.24.0 no longer support MNE-realtime?
Sorry for my bad English.