Skip to content

neuralset 0.0.2 fails to import against exca 0.5.26 — clean install broken on Colab (Python 3.12) #65

Description

@Karre89

Summary
A fresh, first-cell install of tribev2 in a clean Google Colab runtime installs neuralset 0.0.2 + exca 0.5.26, and from tribev2.demo_utils import TribeModel fails at import time inside neuralset. The exca dependency appears unpinned, so pip resolves an incompatible exca.

Environment

  • Google Colab, fresh runtime, GPU
  • Python 3.12
  • Install (first cell, nothing before it): pip install "tribev2 @ git+https://github.com/facebookresearch/tribev2.git"
  • Resolved versions: tribev2 0.1.0, neuralset 0.0.2, exca 0.5.26

Error 1 — on import:
AttributeError: module 'exca.steps.base' has no attribute 'NoValue'
neuralset/events/study.py, in StudyLoader():
def run(self, value: tp.Any = exca.steps.base.NoValue()) -> tp.Any:

Error 2 — after shimming a placeholder NoValue, a second break appears:
AttributeError: partially initialized module 'neuralset' has no attribute 'segments' (most likely due to a circular import)
neuralset/dataloader.py, in SegmentsMixin():
segments: tp.Sequence[ns.segments.Segment]

The core contradiction: neuralset 0.0.2 declares exca>=0.5.20, but its code calls exca.steps.base.NoValue, which is absent in current exca (0.5.26) AND in the pre-0.5 line (0.4.8). No exca version satisfies both the requirement and the source — neuralset appears to reference a removed/renamed exca API.

Question: what exca version is neuralset 0.0.2 built against? Could the exca dependency be pinned to a known-good version? That would unblock this immediately.

Thanks for releasing TRIBE v2 — keen to use it once the install resolves.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions