ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How do i fix this catkin_make error??

asked 2020-03-31 03:49:41 -0500

ADi1297 gravatar image

updated 2020-03-31 03:57:02 -0500

gvdhoorn gravatar image

How do i fix this catkin_make error??

Base path: /home/aditya/catkin_ws
Source space: /home/aditya/catkin_ws/src
Build space: /home/aditya/catkin_ws/build
Devel space: /home/aditya/catkin_ws/devel
Install space: /home/aditya/catkin_ws/install
#### Running command: "make cmake_check_build_system" in "/home/aditya/catkin_ws/build"
-- Using CATKIN_DEVEL_PREFIX: /home/aditya/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/aditya/catkin_ws/devel;/opt/ros/melodic
-- This workspace overlays: /home/aditya/catkin_ws/devel;/opt/ros/melodic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.9", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/aditya/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.6.9") 
-- Using Python nosetests: /usr/bin/nosetests-2.7
ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at /opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  returned error code 1
Call Stack (most recent call first):
  /opt/ros/melodic/share/catkin/cmake/catkin_package_xml.cmake:74 (safe_execute_process)
  /opt/ros/melodic/share/catkin/cmake/all.cmake:168 (_catkin_package_xml)
  /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:56 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/aditya/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/aditya/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:320: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-31 05:04:16 -0500

Pallav gravatar image

updated 2020-03-31 05:04:33 -0500

Check this question on ROS Answers:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-03-31 03:49:41 -0500

Seen: 152 times

Last updated: Mar 31 '20