I am trying to install ROS using CMake, as shown in the tutorials. I am getting some strange errors in the process. I also checked that catkin was installed correctly and the python path was also correct. Can anybody please help me?
ImportError: "from catkin_pkg.package import parse_package" failed: No module named catkin_pkg.package 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(/usr/local/bin/python "/opt/ros/kinetic/share/catkin/cmake/parse_package_xml.py" "/opt/ros/kinetic/share/catkin/cmake/../package.xml" "/home/riddhi/catkin_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/riddhi/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/riddhi/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed