Skip to content

Update requirements.txt #228

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

Closed
wants to merge 1 commit into from
Closed

Update requirements.txt #228

wants to merge 1 commit into from

Conversation

conor-is-my-name
Copy link

fixed transforms3d version old version was using deprecated numpy causing errors.

AttributeError: module 'numpy' has no attribute 'float'.
np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here.

fixed transforms3d version 

old version was using deprecated numpy 


 AttributeError: module 'numpy' has no attribute 'float'.
 `np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
@semjon00
Copy link
Collaborator

semjon00 commented May 24, 2023

Not sure that file does anything... Newer transforms3d version should be installed automatically after f42020c. Please ensure the extension is updated.

@conor-is-my-name
Copy link
Author

Working backwards through some errors I had some of the functions in the old transforms3d also had the same float issues. I would get an error coming from the "quaternions" module in the old transforms3d version. When numpy was updated he fixed the package in 2022 in version 0.4.1.

Just want to make sure if we are doing fixes we fix all the way. I'm running an instance in a docker container and kept having the wrong version continue to be installed, and I think this file was the source of the error.

@magicse
Copy link
Contributor

magicse commented Nov 8, 2023

add to it av for this
#368

@conor-is-my-name conor-is-my-name closed this by deleting the head repository Feb 5, 2024
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

Successfully merging this pull request may close these issues.

3 participants