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 13:03:44 浏览: 439
这个错误是由于在你的系统中找不到 'empy' 可执行文件或 'em' Python 模块引起的。解决这个问题的方法是安装 'python3-empy' 包。你可以尝试在终端中运行以下命令来安装它:
```
sudo apt-get install python3-empy
```
安装完成后,你应该能够重新运行 CMake,并成功找到 'empy' 或 'em'。如果问题仍然存在,请确保在你的系统上可以找到正确的 'empy' 可执行文件或 'em' Python 模块。
相关问题
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) -- Configuring incomplete, errors occurred! Invoking "cmake" failed
这是一个CMake错误,它告诉你找不到'empy'可执行文件或'Python module 'em'。你可以尝试安装'python3-empy'包来解决这个问题。您可以在终端中使用以下命令来安装该软件包:
```
sudo apt-get install python3-empy
```
安装完成后,重新运行您的CMake命令即可。
-- 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)
这个错误提示是在使用 CMake 进行编译时出现的,是因为缺少 Python 模块 empy 或者 empy 可执行文件。你可以尝试安装 Python 模块 empy 或者安装 empy 可执行文件来解决这个问题。如果你使用的是 Ubuntu 系统,可以使用以下命令安装 Python 模块 empy:
```
sudo apt-get install python3-empy
```
如果你使用的是其他系统,可以根据系统要求安装相应的 empy 软件包。
阅读全文
相关推荐
![-](https://img-home.csdnimg.cn/images/20241231044930.png)
![-](https://img-home.csdnimg.cn/images/20210720083447.png)
![-](https://img-home.csdnimg.cn/images/20241231045053.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)