在ROS中遇到了catkin_make之前能用,但是突然用不了的问题

CMake Error at /opt/ros/noetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/home/qingzhuan/anaconda3/bin/python3
  "/opt/ros/noetic/share/catkin/cmake/parse_package_xml.py"
  "/opt/ros/noetic/share/catkin/cmake/../package.xml"
  "/home/qingzhuan/catkin_ws/build/catkin/catkin_generated/version/package.cmake")
  returned error code 1
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:52 (find_package)


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

catkin_make的时候突然遇到了这个问题,一头雾水,于是突然想起来昨天为了报告没有用canda直接pip安装了一些依赖,大概问题出在了这里,然后网上找答案,发现这位博主Ubuntu20.04安装Ros Noetic版本,在catkin_make编译时出现的问题回答得很好,完全解决了我的问题。所以以后啊还是不要随便用pip装东西了,还是去conda吧。。。
 

你可能感兴趣的:(ubuntu,python)