You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the example code, I find there is a package-type errors for which numpy has np.complex was a deprecated alias for the builtin complex. However, when I try to install numpy<=1.20, there are many package conflicts. Maybe it would be a huge task to fix bugs...
Exception has occurred: AttributeError
module 'numpy' has no attribute 'complex'. np.complex was a deprecated alias for the builtin complex. To avoid this error in existing code, use complex by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
The text was updated successfully, but these errors were encountered:
I would like to at least make this package stable, but maintaining 3 versions of the same code (bofin, bofin-fast, and qutip-bofin) is a bit unsustainable. if you find this version is important for your needs let us know, and we can look into it.
When I run the example code, I find there is a package-type errors for which numpy has
np.complex
was a deprecated alias for the builtincomplex
. However, when I try to install numpy<=1.20, there are many package conflicts. Maybe it would be a huge task to fix bugs...Exception has occurred: AttributeError
module 'numpy' has no attribute 'complex'.
np.complex
was a deprecated alias for the builtincomplex
. To avoid this error in existing code, usecomplex
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.complex128
here.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
The text was updated successfully, but these errors were encountered: