hello-robot / stretch_ros2

ROS 2 packages for the Stretch mobile manipulators from Hello Robot Inc.
https://docs.hello-robot.com/0.2/stretch-tutorials/ros2/
51 stars 19 forks source link

[stretch_funmap] fatal error: numpy/arrayobject.h: No such file or directory #115

Open marekmlk opened 2 months ago

marekmlk commented 2 months ago

Hello! sometimes when building stretch_funmap package I'm getting following error:

fatal error: numpy/arrayobject.h: No such file or directory

The working solution is add include_dirs to setup:

import numpy
setup(
    include_dirs=[numpy.get_include()],
)

Kind regards, Marek