Skip to content

einops 0.4.0 cause the error: ImportError: cannot import name 'einsum' from 'einops' #405

@ipe-zhangyz

Description

@ipe-zhangyz

after setting up the environment by "pip install -r requirements.txt" and executing "bash ./scripts/long_term_forecast/ETT_script/TimesNet_ETTh1.sh", there is an error:
ImportError: cannot import name 'einsum' from 'einops'
requirements.txt requires to install einops 0.4.0, while there is no module named einsum in that version of einops.
Update einops to 0.5.0 solves this problem.
Maybe the requirements.txt file need to be updated.

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