Skip to content

Missing dependency unxt #26

Open
Open

Description

@jacobgolomb

unxt is listed as an option dependency under test, but it is needed in utils.py.

Activity

  1. ColmTalbot commented on Nov 13, 2024

    @ColmTalbot
    Owner

    Can you share the error you're seeing? It looks like this is only strictly a dependency when using jax. I guess I should at least add a wcosmo[jax] option for installation, and possibly also have a graceful failure that explains that people should install unxt when using jax.

  2. jacobgolomb commented on Nov 13, 2024

    @jacobgolomb
    ContributorAuthor

    I don't have the error anymore, but it was a ImportError for unxt when calling convert_quantity_if_necessary. I had installed wcosmo as a dependency of gwpopulation and I guess unxt did not automatically get installed.

  3. mdmould commented on Nov 14, 2024

    @mdmould

    I was about to open an issue for the same reason when I saw this. I only had explicitly installed gwpopulation and was using using it with jax when I got the ModuleNotFoundError: No module named 'unxt' error using PowerLawRedshift. I think adding install instructions for different backends to the frontpage would be helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions