Invoking "cmake" failed
Hi when i used command catkin make to build my project workspace first_robot_ws using ros Kinetic Kame on ubuntu 16.04 that was the outbut
note that i am installing anaconda3 on my laptop
abdullah@Hamo:~/first_robot_ws$ catkin_make
Base path: /home/abdullah/first_robot_ws
Source space: /home/abdullah/first_robot_ws/src
Build space: /home/abdullah/first_robot_ws/build
Devel space: /home/abdullah/first_robot_ws/devel
Install space: /home/abdullah/first_robot_ws/install
####
#### Running command: "cmake /home/abdullah/first_robot_ws/src
-DCATKIN_DEVEL_PREFIX=/home/abdullah/first_robot_ws/devel -
DCMAKE_INSTALL_PREFIX=/home/abdullah/first_robot_ws/install -G Unix Makefiles" in
"/home/abdullah/first_robot_ws/build"
####
-- The C compiler identification is GNU 5.4.0
`enter code here`- - The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/abdullah/first_robot_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Found PythonInterp: /home/abdullah/anaconda3/bin/python (found version "3.5.2")
-- Using PYTHON_EXECUTABLE: /home/abdullah/anaconda3/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/abdullah/first_robot_ws/build/test_results
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /home/abdullah/anaconda3/bin/nosetests
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/kinetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/home/abdullah/anaconda3/bin/python
"/opt/ros/kinetic/share/catkin/cmake/parse_package_xml.py"
"/opt/ros/kinetic/share/catkin/cmake/../package.xml"
"/home/abdullah/first_robot_ws/build/catkin/catkin_generated/version/package.cmake")
returned error code 1
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkin_package_xml.cmake:63 (safe_execute_process)
/opt/ros/kinetic/share/catkin/cmake/all.cmake:151 (_catkin_package_xml)
/opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:52 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/abdullah/first_robot_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/abdullah/first_robot_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed>