Erro Invoking "cmake" failed
Good morning, I'm having a problem when configuring cmake to use the ros Kinetic, I'm following this tutorial http://wiki.ros.org/catkin/Tutorials/..., but when running $ catkin_make, I have the problem below:
Base path: /home/hiago/catkin_ws
Source space: /home/hiago/catkin_ws/src
Build space: /home/hiago/catkin_ws/build
Devel space: /home/hiago/catkin_ws/devel
Install space: /home/hiago/catkin_ws/install
####
#### Running command: "cmake /home/hiago/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/hiago/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/hiago/catkin_ws/install -G Unix Makefiles" in "/home/hiago/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/hiago/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/hiago/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.5.2")
-- Using Python nosetests: /usr/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(/usr/bin/python3
"/opt/ros/kinetic/share/catkin/cmake/parse_package_xml.py"
"/opt/ros/kinetic/share/catkin/cmake/../package.xml"
"/home/hiago/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:74 (safe_execute_process)
/opt/ros/kinetic/share/catkin/cmake/all.cmake:168 (_catkin_package_xml)
/opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:60 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/hiago/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/hiago/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I'm not sure about the problem, but I believe it has something to do with the python version since Ros uses one version and CMake another. I've tried everything, I can't find anything else on the web to help me, help me please!
that's not really a problem, we can fix that for you.
What is a problem is that you posted in a language other than English.
This is an English-only forum, so please post your questions in English.
I'll close this for now, but I will re-open after you've translated everything into English.
You don't need to post a new question: just click the
edit
button/link.I've already edited it, I'm so desperate that I didn't pay attention, sorry.
No problem. I've re-opened it.
You write:
could you link to what exactly you are trying to install? We don't know what "install ABB" means.
I am trying to configure CMake, this information about "installing ABB" was just information that I thought would be useful, but I will remove them because they are not relevant to the problem.