Skip to content

New user install: numpy 1.26 vs numpy 2.* errors #9

Description

@hello-lamsey

Issue: after performing a stretch_new_user_install.sh, I was unable to run the ROS2 stretch_driver due to a numpy version mismatch. The transforms3d=0.4.1 package uses a deprecated numpy type.

Details:

  • Packages like stretch4_body and rerun pin numpy>=2.0
  • ROS2 Jazzy support for numpy>=2.0 is still a bit tenuous, as detailed in other PRs regarding cv_bridge etc.

Temp fix: pip install -U transforms3d to 0.4.2 and clean rebuild the ROS2 workspace with rm -rf build/ install/ logs/ and colcon build - this yields a working ROS2 workspace with, e.g., numpy=2.4.6

Suggested fix: reconcile the numpy dependency before building the ROS2 workspace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions