Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependency unxt #26

Open
jacobgolomb opened this issue Nov 7, 2024 · 3 comments
Open

Missing dependency unxt #26

jacobgolomb opened this issue Nov 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@jacobgolomb
Copy link

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

@ColmTalbot
Copy link
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.

@ColmTalbot ColmTalbot added the bug Something isn't working label Nov 13, 2024
@jacobgolomb
Copy link
Author

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.

@mdmould
Copy link

mdmould commented Nov 14, 2024

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
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants