I have been experimenting hypyp for a while, but when I just downloaded the package on a new computer today, it seems that the package is no longer compatible with the newest mne 1.3. Therefore, I couldn't seem to load HyPyP package anymore. Here is the error message I got:
`---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[1], line 2
1 #import Hypyp
----> 2 from hypyp import prep
3 from hypyp import analyses
4 from hypyp import stats
File ~/mambaforge/envs/mkpy_261222/lib/python3.9/site-packages/hypyp/__init__.py:2
1 import pkg_resources
----> 2 from hypyp import analyses, prep, stats, utils, viz
4 __version__ = pkg_resources.get_distribution("hypyp").version
5 __all__ = ["analyses", "prep", "stats", "utils", "viz"]
File ~/mambaforge/envs/mkpy_261222/lib/python3.9/site-packages/hypyp/analyses.py:29
27 import mne
28 from mne.io.constants import FIFF
---> 29 from mne.time_frequency import psd_welch
31 from .mvarica import MVAR, connectivity_mvarica
34 def pow(epochs: mne.Epochs, fmin: float, fmax: float, n_fft: int, n_per_seg: int, epochs_average: bool) -> tuple:
ImportError: cannot import name 'psd_welch' from 'mne.time_frequency' (/home/hanjiaxu/mambaforge/envs/mkpy_261222/lib/python3.9/site-packages/mne/time_frequency/__init__.py)`
I am wondering if there is a way to get around this error message, and thank you very much in advance!
Dear HyPyP experts,
I have been experimenting hypyp for a while, but when I just downloaded the package on a new computer today, it seems that the package is no longer compatible with the newest mne 1.3. Therefore, I couldn't seem to load HyPyP package anymore. Here is the error message I got:
I am wondering if there is a way to get around this error message, and thank you very much in advance!