Skip to content

Enforce setuptools<70.0.0 #3

@gdewael

Description

@gdewael

Hi,

Following the instructions to install in the README.md to evaluate the pre-trained checkpoint raises an error:

looking for. ./SpecBridge_MassSpecGym_dataset.mgf and None
Error using dreams encoder from checkpoint ./ssl_model.ckpt: No module named 'pkg_resources'
Error using dreams encoder from checkpoint ./ssl_model.ckpt using DreamsEncoder: cannot import name 'DreamsEncoder' from 'dreams' (./SpecBridge/DreaMS/dreams/__init__.py)
Using dummy dreams encoder

This issue arises due to recent versions of setuptools losing pkg_resources as a dependency, breaking DreaMS.
Specifying - setuptools>=61.0,<70.0.0 in environment.yml fixes the issue.

I could succesfully reproduce your work after this step. Nice work!

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