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

Install error because of the scipy version #25

Open
mousset opened this issue Oct 31, 2024 · 1 comment
Open

Install error because of the scipy version #25

mousset opened this issue Oct 31, 2024 · 1 comment

Comments

@mousset
Copy link
Collaborator

mousset commented Oct 31, 2024

Error when doing import s2scat because of the scipy version 1.14.1. This is the error I got

---> 27 from scipy.integrate import trapz
ImportError: cannot import name 'trapz' from 'scipy.integrate'

By installing scipy==1.12.0, the issue was solved. Should we put this in the requirements ?

@CosmoMatt
Copy link
Collaborator

@mousset good catch, we've pinned some versions already but scipy must be picked up externally. If pinning scipy==1.12.0 fixes the problem for now let's do it. We can worry about a more comprehensive fix for versions across the board at a later date.

If you can make a small PR with this change, I can review quickly and we can merge this into main!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants