一键安装ros及出现问题的解决方案

wget http://fishros.com/install -O fishros && . fishros

catkin_make时出现报错如下

catkin_make时出现错误提示如下:

catkin_make
Base path: /home/efsz/zmq_to_ros
Source space: /home/efsz/zmq_to_ros/src
Build space: /home/efsz/zmq_to_ros/build
Devel space: /home/efsz/zmq_to_ros/devel
Install space: /home/efsz/zmq_to_ros/install
Creating symlink "/home/efsz/zmq_to_ros/src/CMakeLists.txt" pointing to "/opt/ros/noetic/share/catkin/cmake/toplevel.cmake"
####
#### Running command: "cmake /home/efsz/zmq_to_ros/src -DCATKIN_DEVEL_PREFIX=/home/efsz/zmq_to_ros/devel -DCMAKE_INSTALL_PREFIX=/home/efsz/zmq_to_ros/install -G Unix Makefiles" in "/home/efsz/zmq_to_ros/build"
####
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/efsz/zmq_to_ros/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /home/efsz/anaconda3/bin/python3 (found suitable version "3.9.13", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /home/efsz/anaconda3/bin/python3
-- Using Debian Python package layout
-- Could NOT find PY_em (missing: PY_EM)
CMake Error at /opt/ros/noetic/share/catkin/cmake/empy.cmake:30 (message):
  Unable to find either executable 'empy' or Python module 'em'...  try
  installing the package 'python3-empy'
Call Stack (most recent call first):
  /opt/ros/noetic/share/catkin/cmake/all.cmake:164 (include)
  /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:58 (find_package)

catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3

ROS知识:解决ROS和Anaconda的python冲突_installing the package 'python3-empy-CSDN博客

ubuntu安装ROS melodic(最新、超详细图文教程,包含配置rosdep)_小鱼一键安装ros-CSDN博客

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-11 07:08:03       53 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-11 07:08:03       55 阅读
  3. 在Django里面运行非项目文件

    2024-07-11 07:08:03       46 阅读
  4. Python语言-面向对象

    2024-07-11 07:08:03       56 阅读

热门阅读

  1. [PaddlePaddle飞桨] PaddleOCR图像小模型部署

    2024-07-11 07:08:03       22 阅读
  2. 一起来了解深度学习中的“梯度”

    2024-07-11 07:08:03       20 阅读
  3. linux之内存泄漏分析

    2024-07-11 07:08:03       17 阅读
  4. Kotlin Class

    2024-07-11 07:08:03       19 阅读
  5. uniapp vue3微信小程序如何获取dom元素

    2024-07-11 07:08:03       21 阅读
  6. ROI 接口便捷修改

    2024-07-11 07:08:03       15 阅读
  7. rknn部署rk3588

    2024-07-11 07:08:03       19 阅读
  8. 深入探索Apache Flink:流处理的艺术与实践

    2024-07-11 07:08:03       19 阅读
  9. python 之修改host配置

    2024-07-11 07:08:03       21 阅读