-
Notifications
You must be signed in to change notification settings - Fork 191
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: cannot import name 'simps' from 'scipy.integrate' #750
Comments
Hi @wangqiuoe , Thank you for opening this issue. I'm not being able to replicate your problem. It looks to me like an installation issue. I recommended that you create a new virtual environment to avoid any installation issues. You can create a virtual environment with Conda and install Strawberry Fields as follows:
Note that you will be installing 3 packages here: Strawberry Fields, Jupyter, and Matplotlib. Also, note that where it says <name_of_your_environment> you can choose any name that you want. If you're still having trouble in your newly created environment please post here the output of sf.about()
Please let us know if this resolves your issue! |
I have followed your method and it still ends at the same point as before
I have |
Hi @umar1kfarooq-king , You can try using Google Colab. This would be the recommended option. If you need to install locally: I hope this helps. |
I just installed strawberryfields and facing same issue with import. I checked scipy, they don't have a function |
OK. scipy deprecated |
Hi @ZiadHatab, |
Before posting a bug report
Expected behavior
import pacakage successfully
Actual behavior
After installation, when doing
from strawberryfields.apps import points, plot
,it reports the import error.
I've checked scipy.integrate, and the current version has
simpson
instead ofsimps
methodReproduces how often
100%
System information
Source code
No response
Tracebacks
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: