CMake Error at /opt/ros/.../safe_execute_process.cmake
Tried all the solutions, it didn't worked.
CMake Error at /opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/usr/bin/python3
"/opt/ros/melodic/share/catkin/cmake/parse_package_xml.py"
"/opt/ros/melodic/share/catkin/cmake/../package.xml"
"/home/alwagne/Aue893_Alwagne/catkin_ws/build/catkin/catkin_generated/version/package.cmake")
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/alwagne/Aue893_Alwagne/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/alwagne/Aue893_Alwagne/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
ROS Melodic does not support using Python 3 when installed with the packages provided by
repositories.ros.org
.Also:
If you don't try to accurately describe what you've tried, I doubt ppl here are going to be willing to help you.
This is just about as bad as "it doesn't work".
My Python Version is 2.7.17. Is there still an issue?
Apparently Catkin (or really: CMake) has decided that
/usr/bin/python3
is the Python interpreter to use on your system.Why that is we can't know, so I'm afraid you'll have to do some digging yourself.