Skip to content

np.int was a deprecated alias for the builtin int. #30

@fwarmuth

Description

@fwarmuth

Hey,
not working with recent NumPy versions >= 1.20!

from urdfpy import URDF

results in:

module 'numpy' has no attribute 'int'.
`np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself.
Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision.
If you wish to review your current use, check the release note link for additional information.

Any plans on switching to builtin int?

regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions