Skip to content

cs_util version #301

Description

@martinkilbinger

This error occured:

ImportError: cannot import name 'get_cosmo' from 'cs_util.cosmo'
(/usr/local/lib/python3.12/site-packages/cs_util/cosmo.py)

The container has cs_util==0.2.1 (PyPI release), which doesn't have get_cosmo. But pyproject.toml already
documents that this repo needs cs_util's develop branch, not PyPI:

Track cs_util's develop branch directly (git dependency) rather than a
PyPI pin: ... cs_util get_theo_c_ell / get_theo_xi / PLANCK18 in
cs_util.cosmo, which land via CosmoStat/cs_util#76 ...
"cs_util @ git+https://github.com/CosmoStat/cs_util.git@develop",

This can be fixed by setting APPTAINERENV_PYTHONPATH.

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