Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include MNE-ICALabel and PyTorch in Windows installers #178

Closed
wants to merge 8 commits into from

Conversation

hoechenberger
Copy link
Member

New attempt after the failed #168

@hoechenberger

This comment was marked as outdated.

@larsoner
Copy link
Member

Installation works but testing failed:

Trying to import MNE and all additional packages included in the installer
Traceback (most recent call last):
  File "D:\a\mne-installers\mne-installers\tests\test_imports.py", line 13, in <module>
    import mne_icalabel
  File "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\mne_icalabel\__init__.py", line 3, in <module>
    from . import annotation  # noqa: F401
  File "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\mne_icalabel\annotation\__init__.py", line 1, in <module>
    from .bids import mark_component, write_components_tsv
  File "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\mne_icalabel\annotation\bids.py", line 7, in <module>
    from ..config import ICLABEL_LABELS_TO_MNE
  File "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\mne_icalabel\config.py", line 1, in <module>
    from .iclabel import iclabel_label_components
  File "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\mne_icalabel\iclabel\__init__.py", line 8, in <module>
    from .label_components import iclabel_label_components  # noqa: F401
  File "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\mne_icalabel\iclabel\label_components.py", line 9, in <module>
    from .network import run_iclabel
  File "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\mne_icalabel\iclabel\network.py", line 7, in <module>
    import torch
  File "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\torch\__init__.py", line 128, in <module>
    raise err
OSError: [WinError 182] The operating system cannot run %1. Error loading "C:\Users\runneradmin\mne-python\1.3.0_1\lib\site-packages\torch\lib\shm.dll" or one of its dependencies.

@hoechenberger
Copy link
Member Author

Bummer.....

@larsoner
Copy link
Member

If you really want to go the extra mile you could borrow the dependencies.exe stuff from OpenMEEG to figure out what the DLL can't resolve

https://github.com/openmeeg/openmeeg/blob/993cabd4541720e7885b91e5dfaff1ff85c501ed/.github/workflows/build_and_test.yml#L476-L481

It should walk the dependencies and say what's missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants