-- 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)
时间: 2023-08-15 11:40:04 浏览: 141
这个错误提示是在使用 CMake 进行编译时出现的,是因为缺少 Python 模块 empy 或者 empy 可执行文件。你可以尝试安装 Python 模块 empy 或者安装 empy 可执行文件来解决这个问题。如果你使用的是 Ubuntu 系统,可以使用以下命令安装 Python 模块 empy:
```
sudo apt-get install python3-empy
```
如果你使用的是其他系统,可以根据系统要求安装相应的 empy 软件包。
相关问题
at /opt/ros/noetic/share/catkin/cmake/catkin_install_python.cmake:86
在问题中提到的错误信息是:ROSERROR: CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_install_python.cmake:86。根据给出的引用内容,问题可能是由于之前eigen库与ceres库的冲突,进行了两个库的重装并删除了相关文件夹,导致与系统原文件信息不匹配。解决方法是将路径/usr/local/include/文件夹下的eigen3文件夹复制到路径/usr/include下,可以使用以下指令完成:sudo cp -r /usr/local/include/eigen3 /usr/include。这样做可以确保系统中的文件信息得到匹配,从而解决该错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [ROSERROR : CMake Error at /opt/ros/noetic/share/pcl_ros/cmake/pcl_rosConfig.cmake:113 (message)](https://blog.csdn.net/qq_39607707/article/details/123753571)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
CMake Error at /opt/ros/noetic/share/catkin/cmake/safe_execute_process.cmake:11
此处引用了一个CMake Error,错误发生在/opt/ros/noetic/share/catkin/cmake/safe_execute_process.cmake:11处。根据错误提示,可能是文件路径或者文件本身不存在,也可能是缺少依赖项或者配置文件。您可以检查文件路径是否正确,并确保所有必要的依赖项和配置文件都已安装和正确配置。
--相关问题--: