Skip to content

Compatibility and import errors #90

@Sleuthing

Description

@Sleuthing

In the notebook Introdcution_to_diffusers

First this cell:
%pip install -qq -U diffusers datasets transformers accelerate ftfy pyarrow==9.0.0
it gives this error every other time it is run:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
bigframes 1.22.0 requires pyarrow>=10.0.1, but you have pyarrow 9.0.0 which is incompatible.
cudf-cu12 24.10.1 requires pyarrow<18.0.0a0,>=14.0.0, but you have pyarrow 9.0.0 which is incompatible.
pylibcudf-cu12 24.10.1 requires pyarrow<18.0.0a0,>=14.0.0, but you have pyarrow 9.0.0 which is incompatible.

Then by 'Step 2: Download a training dataset':
Specifically this line:
from datasets import load_dataset
it gives this error:

cannot import name 'implements' from 'pyarrow.util'

and this same line generates this error instead:

cannot import name 'SortingColumn' from 'pyarrow._parquet'

if I remove the specification of version 9.0.0 for pyarrow

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