Skip to content

AttributeError: module 'exca.steps.base' has no attribute 'NoValue' when importing TribeModel in Google Colab (Python 3.12) #69

Description

@deepika-a3i

I am encountering an import error when trying to use tribev2 in a fresh Google Colab environment.

Environment
Platform: Google Colab
Python: 3.12.x
Package: tribev2
Code

from tribev2.demo_utils import TribeModel, download_file
from tribev2.plotting import PlotBrain
from pathlib import Path

Error

AttributeError: module 'exca.steps.base' has no attribute 'NoValue'`

Full Traceback

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_1818/3387571854.py in <cell line: 0>()
----> 1 from tribev2.demo_utils import TribeModel, download_file
      2 from tribev2.plotting import PlotBrain
      3 from pathlib import Path
      4
      5 CACHE_FOLDER = Path("./cache")

...

/usr/local/lib/python3.12/dist-packages/neuralset/events/study.py in StudyLoader()
    253         return chain._run(*args)
    254
--> 255     def run(self, value: tp.Any = exca.steps.base.NoValue()) -> tp.Any:
    256         """Execute -- bypass Step-level caching when transforms exist
    257         (the internal chain handles it)."""

AttributeError: module 'exca.steps.base' has no attribute 'NoValue'

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