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

dependencies version conflict #26

Open
uapdhyaybipul opened this issue May 31, 2024 · 1 comment
Open

dependencies version conflict #26

uapdhyaybipul opened this issue May 31, 2024 · 1 comment

Comments

@uapdhyaybipul
Copy link

when i'm importing the libraries getting "numpy.float " version as error can any one help. i'm using python 3.11

@peconomi
Copy link

You'll need to go the geom.py file of the package's library and change the "float" arguments to either float32 or float64.
Once that's saved, reload your packages and the error won't crop up again. Should look like this:

def pt(x, y, dtype=np.float64):
"""Create a point in 2D space at , """
return np.array((x, y), dtype=dtype)

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