Skip to content

Not working with latest datasets version #42

@salvatore-cipolla

Description

@salvatore-cipolla

When executing
from datadreamer import DataDreamer
I get the following error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/data/scipolla/venv/lib64/python3.11/site-packages/datadreamer/__init__.py", line 64, in <module> from .datadreamer import DataDreamer File "/data/scipolla/venv/lib64/python3.11/site-packages/datadreamer/datadreamer.py", line 18, in <module> from ._patches.datasets_reset_state_hack import ( File "/data/scipolla/venv/lib64/python3.11/site-packages/datadreamer/_patches/datasets_reset_state_hack.py", line 7, in <module> from datasets.iterable_dataset import ( ImportError: cannot import name 'TypedExamplesIterable' from 'datasets.iterable_dataset' (/data/scipolla/venv/lib64/python3.11/site-packages/datasets/iterable_dataset.py)

This does not happen when fixing datasets version to datasets==3.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions