一键安装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博客

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小负不负

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值