This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
AttributeError: module 'numpy' has no attribute 'int' when importing tacto #42
Comments
I've found that the culprit of the issue is the dependency on urdfpy, which unfortunately has a hard dependency on networkx 2.2 which doesn't support numpy 1.20 as this support came with networkx 3.0. Until the issue of the hard dependency is addressed in the urdfpy repo via the currently unmerged PR, users of tacto should either downgrade numpy to <1.20 or simply override the urdfpy networkx requirement. |
To resolve this issue easily, you just need to delete "(np.int, "int")," in the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce
First, install tacto in a fresh environment as instructed
Then, see if it worked: try running this python script
You get the following error:
The text was updated successfully, but these errors were encountered: