Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to catkin build: fatal error: numpy/arrayobject.h: No such file or directory #126

Open
ambitious-octopus opened this issue Nov 3, 2022 · 1 comment

Comments

@ambitious-octopus
Copy link

This is what i get:

src/moveit_calibration/moveit_calibration_plugins/handeye_calibration_solver/include/moveit/handeye_calibration_solver/handeye_solver_default.h:53:10: fatal error: numpy/arrayobject.h: No such file or directory
   53 | #include <numpy/arrayobject.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [handeye_calibration_solver/CMakeFiles/moveit_handeye_calibration_solver_core.dir/build.make:63: handeye_calibration_solver/CMakeFiles/moveit_handeye_calibration_solver_core.dir/src/handeye_solver_default.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2039: handeye_calibration_solver/CMakeFiles/moveit_handeye_calibration_solver_core.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /iiwa_stack_ws/src/build/moveit_calibration_plugins; catkin build --get-env moveit_calibration_plugins | catkin env -si  /root/miniconda3/envs/grow-hbp/bin/make --jobserver-auth=4,5; cd -
@elishafer
Copy link

elishafer commented Jan 24, 2023

I get a simalar error with the compiler complaining
handeye_solver_default.h:53:31:�[m�[K �[01;31m�[Kfatal error: �[m�[Knumpy/arrayobject.h: No such file or directory
Have you managed to fix it?

edit: The following solved the issue for me
sudo apt-get install --reinstall python-numpy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants