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

ImportError: 'simps' from scipy.integrate #242

Open
ashutoshjha3103 opened this issue Nov 22, 2024 · 2 comments
Open

ImportError: 'simps' from scipy.integrate #242

ashutoshjha3103 opened this issue Nov 22, 2024 · 2 comments

Comments

@ashutoshjha3103
Copy link

After pip install py-feat, while importing Detector class, this error pops up under feat/utils/stats.py

ImportError: cannot import name 'simps' from 'scipy.integrate'

This is due to a version conflict, where this function is now called 'simpson' and not simps

Issue discussed here: XanaduAI/strawberryfields#750

@avshyz
Copy link

avshyz commented Dec 22, 2024

@ashutoshjha3103 - did you find any workaround?

@ashutoshjha3103
Copy link
Author

@avshyz yes, for now I use the scipy==1.13 (<1.14) as suggested on the link I gave in the description.

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