ros noetic catkin_make 失败解决方法
问题:
ros noetic catkin_make 失败:
(base) alex@ubuntu-16-04:~/catkin$ catkin_make
Base path: /home/alex/catkin
Source space: /home/alex/catkin/src
Build space: /home/alex/catkin/build
Devel space: /home/alex/catkin/devel
Install space: /home/alex/catkin/install
####
#### Running command: "cmake /home/alex/catkin/src -DCATKIN_DEVEL_PREFIX=/home/alex/catkin/devel -DCMAKE_INSTALL_PREFIX=/home/alex/catkin/install -G Unix Makefiles" in "/home/alex/catkin/build"
####
-- The CXX compiler identification is GNU 9.3.0
-- 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/alex/catkin/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /home/alex/anaconda3/bin/python3 (found suitable version "3.8.8", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /home/alex/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'... tryinstalling 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)-- Configuring incomplete, errors occurred!
See also "/home/alex/catkin/build/CMakeFiles/CMakeOutput.log".
See also "/home/alex/catkin/build/CMakeFiles/CMakeError.log".
python依赖empy,于是通过pip安装:
base) alex@ubuntu-16-04:~/catkin$ pip install empy
Collecting empyDownloading empy-3.3.4.tar.gz (62 kB)|████████████████████████████████| 62 kB 83 kB/s
Building wheels for collected packages: empyBuilding wheel for empy (setup.py) ... doneCreated wheel for empy: filename=empy-3.3.4-py3-none-any.whl size=29330 sha256=63c13546baef652d25a46202986771de15544ec6536ba34bc6be7e99ba48fe98Stored in directory: /home/alex/.cache/pip/wheels/b0/d7/80/0e8ad4f073e05b2435c3b4c12c230cb219135bae4f59978612
Successfully built empy
Installing collected packages: empy
Successfully installed empy-3.3.4
再测试仍然失败,提示catkin_pkg未安装
(base) alex@ubuntu-16-04:~/catkin$ catkin_make
Base path: /home/alex/catkin
Source space: /home/alex/catkin/src
Build space: /home/alex/catkin/build
Devel space: /home/alex/catkin/devel
Install space: /home/alex/catkin/install
####
#### Running command: "cmake /home/alex/catkin/src -DCATKIN_DEVEL_PREFIX=/home/alex/catkin/devel -DCMAKE_INSTALL_PREFIX=/home/alex/catkin/install -G Unix Makefiles" in "/home/alex/catkin/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/alex/catkin/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Using PYTHON_EXECUTABLE: /home/alex/anaconda3/bin/python3
-- Using Debian Python package layout
-- Found PY_em: /home/alex/anaconda3/lib/python3.8/site-packages/em.py
-- Using empy: /home/alex/anaconda3/lib/python3.8/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/alex/catkin/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: /home/alex/anaconda3/bin/python3 (found version "3.8.8")
-- Found Threads: TRUE
-- Using Python nosetests: /usr/bin/nosetests3
ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at /opt/ros/noetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):execute_process(/home/alex/anaconda3/bin/python3"/opt/ros/noetic/share/catkin/cmake/parse_package_xml.py""/opt/ros/noetic/share/catkin/cmake/../package.xml""/home/alex/catkin/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:58 (find_package)-- Configuring incomplete, errors occurred!
See also "/home/alex/catkin/build/CMakeFiles/CMakeOutput.log".
See also "/home/alex/catkin/build/CMakeFiles/CMakeError.log".
继续安装
(base) alex@ubuntu-16-04:~/catkin$ pip install catkin_pkg
Collecting catkin_pkgDownloading catkin_pkg-0.4.24-py3-none-any.whl (75 kB)|████████████████████████████████| 75 kB 19 kB/s
Requirement already satisfied: pyparsing in /home/alex/anaconda3/lib/python3.8/site-packages (from catkin_pkg) (2.4.7)
Requirement already satisfied: docutils in /home/alex/anaconda3/lib/python3.8/site-packages (from catkin_pkg) (0.17.1)
Requirement already satisfied: python-dateutil in /home/alex/anaconda3/lib/python3.8/site-packages (from catkin_pkg) (2.8.1)
Requirement already satisfied: six>=1.5 in /home/alex/anaconda3/lib/python3.8/site-packages (from python-dateutil->catkin_pkg) (1.15.0)
Installing collected packages: catkin-pkg
Successfully installed catkin-pkg-0.4.24
再次测试成功:
base) alex@ubuntu-16-04:~/catkin$ catkin_makCommand 'catkin_mak' not found, did you mean:command 'catkin_make' from deb catkin (0.8.0-1ubuntu2)Try: sudo apt install <deb name>(base) alex@ubuntu-16-04:~/catkin$ catkin_make
Base path: /home/alex/catkin
Source space: /home/alex/catkin/src
Build space: /home/alex/catkin/build
Devel space: /home/alex/catkin/devel
Install space: /home/alex/catkin/install
####
#### Running command: "cmake /home/alex/catkin/src -DCATKIN_DEVEL_PREFIX=/home/alex/catkin/devel -DCMAKE_INSTALL_PREFIX=/home/alex/catkin/install -G Unix Makefiles" in "/home/alex/catkin/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/alex/catkin/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /home/alex/anaconda3/bin/python3 (found suitable version "3.8.8", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /home/alex/anaconda3/bin/python3
-- Using Debian Python package layout
-- Using empy: /home/alex/anaconda3/lib/python3.8/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/alex/catkin/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: /home/alex/anaconda3/bin/python3 (found version "3.8.8")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alex/catkin/build
####
#### Running command: "make -j4 -l4" in "/home/alex/catkin/build"
####
ros noetic catkin_make 失败解决方法相关推荐
- Jenkins执行shell脚本启动tomcat失败解决方法
Jenkins执行shell脚本启动tomcat失败解决方法 参考文章: (1)Jenkins执行shell脚本启动tomcat失败解决方法 (2)https://www.cnblogs.com/wa ...
- SVN地址正确,能在网页打开,但是检出失败解决方法
SVN地址正确,能在网页打开,但是检出失败解决方法 参考文章: (1)SVN地址正确,能在网页打开,但是检出失败解决方法 (2)https://www.cnblogs.com/zzd0916/p/76 ...
- svn update 报错,必须先cleanup,然后cleanup失败解决方法
svn update 报错,必须先cleanup,然后cleanup失败解决方法 参考文章: (1)svn update 报错,必须先cleanup,然后cleanup失败解决方法 (2)https: ...
- Jenkins安装maven integration plugin失败解决方法
Jenkins安装maven integration plugin失败解决方法 参考文章: (1)Jenkins安装maven integration plugin失败解决方法 (2)https:// ...
- ubuntu sudo apt-get update 失败 解决方法
ubuntu sudo apt-get update 失败 解决方法 参考文章: (1)ubuntu sudo apt-get update 失败 解决方法 (2)https://www.cnblog ...
- 检索 COM 类工厂中 CLSID 为 {10020200-E260-11CF-AE68-00AA004A34D5} 的组件时失败,解决方法如下:...
检索 COM 类工厂中 CLSID 为 {10020200-E260-11CF-AE68-00AA004A34D5} 的组件时失败,解决方法如下: 第 一步:首先将msvcr71.dll, SQLD ...
- 访问IIS元数据库失败解决方法(转)
访问IIS元数据库失败解决方法(转) 这个问题一般在做.net开发网站时候会遇到,我就是在那个时候遇到的 访问 IIS 元数据库失败 解决方法 现象如下: 访问 IIS 元数据库失败. 说明: 执行当 ...
- ORA-12638: 身份证明检索失败 解决方法
用PL/SQL或Navicat连接本地或远程Oracle数据库的时候报错:ORA-12638: 身份证明检索失败 解决方法: 开始 -> 所有程序 -> Oracle - Oracle_h ...
- android studio socket 失败,Android应用开发Android Studio建立Socket连接失败解决方法
本文将带你了解Android应用开发Android Studio建立Socket连接失败解决方法,希望本文对大家学Android有所帮助. < Android Studio建立Socket连接失 ...
最新文章
- 独家 | 用spaCy蒸馏BERT模型
- 自动管理Windows2003好用的“远程桌面”
- git File name too long
- 【数学建模】MATLAB应用实战系列(九十三)-岭回归应用案例(附MATLAB和Python代码)
- 第6章 Selenium2-Java 自动化测试模型
- BGP——路由抖动惩罚机制(讲解+配置)
- 【赛尔笔记】文本摘要论文列表
- 抛出异常,打印错误信息,追踪错误
- ARG MIN的含义是什么?
- numpy库学习总结
- 管理感悟:管理人员要不要技术好
- java中的移位操作
- 2021年1月PHP面试题总结
- 荔枝派zero编译rtl8723bs驱动并连接WiFi
- uniapp 图片浏览及保存图片到手机
- OpenVAS下载与安装
- 微服务实施笔记(四)——部署服务发现
- win7怎样打开无线服务器,Win7怎么设置tplink路由器_Win7安装tplink路由器方法-192路由网...
- 3. oracle学习入门系列之三Unix、Linux历史及基础
- 央视3·15晚会起底直播乱象 直播平台佣金高达50%
热门文章
- python里叹号的用法涵义_叹号的用法是什么如何正确使用
- PostgreSQL中函数json_populate_recordset的参数null::myrowtype如何使用
- 百度云Windows Git-2.31.0-64-bit.exe下载,Git Bash
- HI3559V200获取IMX458摄像头数据_(3)实例分析+问题解决
- text shadow 兼容ie
- windows更新后无法上网问题(wifi和有线都不行)
- 知乎大神关于高级ios进阶
- 基于51单片机的多彩霓虹灯控制系统proteus仿真
- 研报精选230505
- 实战案例|聚焦攻击面管理,腾讯安全威胁情报守护头部券商资产安全