Hello, I am trying to update my ros workspace following this Updating your ROS Workspace - Stretch Docs . My Ubuntu is 22.04 LTS, and ROS is humble.
After running the ./stretch_update_ros_workspace.sh for a while, the updating terminated with the following message:
INFO: compile options: '-I/home/hcal/ament_ws/src/stretch_ros2/stretch_funmap/.venv/include -I/usr/include/python3.10 -c'
INFO: x86_64-linux-gnu-gcc: /home/hcal/ament_ws/src/stretch_ros2/stretch_funmap/stretch_funmap/cython_min_cost_path.c
/home/hcal/ament_ws/src/stretch_ros2/stretch_funmap/stretch_funmap/cython_min_cost_path.c:1257:10: fatal error: numpy/arrayobject.h: No such file or directory
1257 | #include "numpy/arrayobject.h"
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: Command "x86_64-linux-gnu-gcc \
-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall \
-g -fstack-protector-strong -Wformat -Werror=format-security \
-g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security \
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC \
-I/home/hcal/ament_ws/src/stretch_ros2/stretch_funmap/.venv/include \
-I/usr/include/python3.10 \
-c /home/hcal/ament_ws/src/stretch_ros2/stretch_funmap/stretch_funmap/cython_min_cost_path.c \
-o /home/hcal/ament_ws/src/stretch_ros2/stretch_funmap/tmpvxr9zwz1/home/hcal/ament_ws/src/stretch_ros2/stretch_funmap/stretch_funmap/cython_min_cost_path.o" failed with exit status 1
I am using the latest file from GitHub - hello-robot/stretch_install: Install scripts for the Stretch mobile manipulators from Hello Robot Inc. · GitHub. Can anyone check this problem?
Thank you so much!