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

AttributeError: module 'numpy' has no attribute 'float'. #59

Closed
hhh-0 opened this issue Oct 20, 2023 · 4 comments · Fixed by #61
Closed

AttributeError: module 'numpy' has no attribute 'float'. #59

hhh-0 opened this issue Oct 20, 2023 · 4 comments · Fixed by #61
Assignees
Labels
bug Something isn't working

Comments

@hhh-0
Copy link

hhh-0 commented Oct 20, 2023

With numpy version 1.25.2 installed, ipyplot.plot_images() gives AttributeError: module 'numpy' has no attribute 'float'.

It looks like the fix (#51 ) is merged but due to build fail, the latest version isn't available in PyPI.

@karolzak karolzak self-assigned this Oct 25, 2023
@karolzak karolzak added the bug Something isn't working label Oct 25, 2023
@ami-navon
Copy link

+1

@oroelipas
Copy link

Ok, I think I found the reason:

#51 fixed the error in January 2023 but the last release available (1.1.1) is from March 2022, so it is not included yet in the PyPi repositories.

You can install the latest version from the github source code with this pip command:

pip install --upgrade --force-reinstall git+https://github.com/karolzak/ipyplot

(Remember to restart the python environment and reload libraries again to have the new installed version)

This worked for me.

@recursix
Copy link

should someone upgrade the PyPi?

@karolzak karolzak linked a pull request Jan 22, 2024 that will close this issue
@karolzak
Copy link
Owner

Thanks everyone for raising this issue. I finally fixed the publish process and released the new package to PyPI with 1.1.2 version so there's no need for hacks and workarounds anymore :)
Thank you all for your patience!

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

Successfully merging a pull request may close this issue.

5 participants