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

module 'numpy' has no attribute issues #130

Closed
MantisShrimpSushi opened this issue Oct 3, 2023 · 2 comments
Closed

module 'numpy' has no attribute issues #130

MantisShrimpSushi opened this issue Oct 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@MantisShrimpSushi
Copy link

I encountered this problem when I tried to use some of the sigpy functions and kept recevieing messages like:

module 'numpy' has no attribute 'complex'
module 'numpy' has no attribute 'float'

which I believe is due to numpy version, as np.float and np.complex is marked deprcated since 1.20.1 and is now complete abandoned in newer versions.

I am currently solving this problem by "np.float = np.float64" actively because there's too many to replace in sigpy.

I hope if in a future version of sigpy this issued can be updated!

  • OS: Windows 11
  • Python: 3.9.13
  • numpy: 1.24.1
    1
    2
    3
@MantisShrimpSushi MantisShrimpSushi added the bug Something isn't working label Oct 3, 2023
@schuenke
Copy link
Contributor

This has been reported several times (#123, #124, #129) and was fixed with PR #126 in May, but unfortunately the fix has not been released yet.

Again, I would like to encourage the sigpy maintainers to do so.

@jonbmartin
Copy link
Collaborator

resolved with version 0.1.26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants