GithubHelp home page GithubHelp logo

mne_icalabel ImportError about mne-icalabel HOT 1 CLOSED

Zoora00 avatar Zoora00 commented on September 26, 2024
mne_icalabel ImportError

from mne-icalabel.

Comments (1)

mscheltienne avatar mscheltienne commented on September 26, 2024

Closing, you are running on an old version of mne-icalabel with a new version of mne.
See:

from __future__ import annotations # c.f. PEP 563, PEP 649
from typing import TYPE_CHECKING
import numpy as np
from mne import pick_info
from mne.channels.layout import _find_topomap_coords
from mne.defaults import _BORDER_DEFAULT, _EXTRAPOLATE_DEFAULT, _INTERPOLATION_DEFAULT
from mne.utils import _validate_type, check_version
from mne.viz.topomap import _check_extrapolate, _make_head_outlines, _setup_interp
if check_version("mne", "1.6"):
from mne._fiff.pick import _pick_data_channels, _picks_to_idx
else:
from mne.io.pick import _pick_data_channels, _picks_to_idx
from ..utils._checks import _validate_ica
from ..utils._docs import fill_doc
if TYPE_CHECKING:
from typing import Union
from mne import Info
from mne.preprocessing import ICA
from numpy.typing import NDArray

Where the import from mne.io import Info is not present anymore.
Please upgrade both mne and mne-icalabel to their latest stable version.

Tested with:

  • mne 1.6.1 and mne-icalabel 0.6.0 (stable)
  • mne 1.6.1 and mne-icalabel 0.7.0.dev0 (main)

from mne-icalabel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.