Skip to content

BUG: forcefields add-on has conflicting versions #1451

@computron

Description

@computron

The bug is described towards the end of this discussion:
#1438

Briefly- the forcefields add-on in atomate2 leads to dependency conflicts:

ERROR: Cannot install atomate2 because these package versions have conflicting dependencies.

The conflict is caused by:
    mace-torch 0.3.3 depends on e3nn==0.4.4
    mattersim 1.2.1 depends on e3nn>=0.5.0
    mace-torch 0.3.3 depends on e3nn==0.4.4
    mattersim 1.2.0 depends on e3nn>=0.5.0
    mace-torch 0.3.3 depends on e3nn==0.4.4
    mattersim 1.1.2 depends on e3nn>=0.5.0
    mace-torch 0.3.3 depends on e3nn==0.4.4
    mattersim 1.1.1 depends on e3nn>=0.5.0
    mace-torch 0.3.3 depends on e3nn==0.4.4
    mattersim 1.1.0 depends on e3nn>=0.5.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Suggested resolution from my side is for this add-on to only support a few core forcefields, such as those supported by matgl, and have the user be responsible for adding on more forcefields that they choose.

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