A sphinx-based centralized documentation repo for MoveIt 2
BSD 3-Clause "New" or "Revised" License
162
stars
196
forks
source link
"ModuleNotFoundError: No module named 'numpy'" error while running <colcon build --mixin release> #922
Open
Venkatag14 opened 4 months ago
Description
I'm trying to install moveit2 with ros2 Humble Distro on Ubuntu22.04. While running colcon build --mixin release, i got this error:
Traceback (most recent call last): File "", line 1, in
ModuleNotFoundError: No module named 'numpy'
CMake Error at /opt/ros/humble/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:204 (message):
execute_process(/usr/local/bin/python3.6 -c 'import
numpy;print(numpy.get_include())') returned error code 1
Call Stack (most recent call first):
/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)
/opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:286 (ament_execute_extensions)
CMakeLists.txt:117 (rosidl_generate_interfaces)
I have numpy installed and tried installing it globally using this command <python3 -m pip install -U numpy>
Your environment
Steps to reproduce
Tell us how to reproduce this issue. Attempt to provide a working demo, perhaps using Docker.
Expected behaviour
Tell us what should happen
Backtrace or Console output
Use gist.github.com to copy-paste the console output or segfault backtrace using gdb.