ros catkin_make编译错误

问题遇到的现象和发生背景

ros中对工作空间catkin_ws进行编译时发生错误

用代码块功能插入代码,请勿粘贴截图

[liyapeng@liyapeng-G3-3590 catkin_ws]$catkin_make

运行结果及报错内容

Base path: /home/liyapeng/catkin_ws
Source space: /home/liyapeng/catkin_ws/src
Build space: /home/liyapeng/catkin_ws/build
Devel space: /home/liyapeng/catkin_ws/devel
Install space: /home/liyapeng/catkin_ws/install

Running command: "cmake /home/liyapeng/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/liyapeng/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/liyapeng/catkin_ws/install -G Unix Makefiles" in "/home/liyapeng/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/liyapeng/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/liyapeng/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/liyapeng/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3.8.10 (Required is at least version "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3.8.10
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/liyapeng/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- 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.8.10
-- Using Python nosetests: /usr/bin/nosetests-2.7

CMake Error at /opt/ros/noetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):

execute_process(/usr/bin/python3.8.10
"/opt/ros/noetic/share/catkin/cmake/parse_package_xml.py"
"/opt/ros/noetic/share/catkin/cmake/../package.xml"
"/home/liyapeng/catkin_ws/build/catkin/catkin_generated/version/package.cmake")
returned error code No such file or directory
Call Stack (most recent call first):
/opt/ros/noetic/share/catkin/cmake/catkin_package_xml.cmake:74 (safe_execute_process)
/opt/ros/noetic/share/catkin/cmake/all.cmake:168 (_catkin_package_xml)
/opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:58 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/liyapeng/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/liyapeng/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

我的解答思路和尝试过的方法

进行很多编译方法但没有效果

我想要达到的结果

编译成功