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

[Bug] Deprecation of scipy.sparse.coo_matrix.A in scipy 1.14 #644

Closed
jo460464 opened this issue Oct 10, 2024 · 5 comments
Closed

[Bug] Deprecation of scipy.sparse.coo_matrix.A in scipy 1.14 #644

jo460464 opened this issue Oct 10, 2024 · 5 comments

Comments

@jo460464
Copy link

Describe the bug
Running spade produces AttributeError

To Reproduce

  1. run elephant.spade.spade with scipy 1.14

AttributeError: 'coo_matrix' object has no attribute 'A'

Expected behavior

Environment

  • OS (e.g., Linux): Linux
  • How you installed elephant (conda, pip, source): pip
  • Python version: 3.10
  • neo python package version: 0.13.3
  • elephant python package version: 1.1
  • (Any additional python package you want to include here)
@jo460464
Copy link
Author

Fix of the bug: change coo_matrix.A by coo_matrix.to_array()

@Moritz-Alexander-Kern
Copy link
Member

Hey @jo460464 ,
thanks for reporting this.
I think this might have already been addressed here:
See: #636

Try installing the latest development version of elephant with:

pip install git+ssh://[email protected]/NeuralEnsemble/elephant.git@main

@jo460464
Copy link
Author

I am already at the most recent I think, is there a newer version than 1.1.0

@jo460464
Copy link
Author

I mean I see that #636 describes my bug, but in my installation at least it is still present

@jo460464
Copy link
Author

But in the problem seems to be local, thanks Moritz

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