AttributeError: module 'em' has no attribute 'Interpreter'
时间: 2023-08-03 09:05:16 浏览: 459
这个错误是由于在编译ROS时出现的。根据引用\[1\]中的报错信息,可以看出问题出在`template_tools.py`文件的第77行,具体错误是`'module' object has no attribute 'Interpreter'`。根据引用\[2\]中的解决方法,可以尝试卸载`em`模块并安装`empy`模块来解决这个问题。你可以使用以下命令来执行这个操作:`python3 -m uninstall em`和`python3 -m install empy`。这样应该能够解决`AttributeError: module 'em' has no attribute 'Interpreter'`的问题。
#### 引用[.reference_title]
- *1* [ROS编译错误 AttributeError: ‘module‘ object has no attribute ‘Interpreter](https://blog.csdn.net/libenfan/article/details/125256544)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [ros realsense 出错 Invoking “make -j4 -l4“ failed module ‘em‘ has no attribute ‘Interpreter](https://blog.csdn.net/Bennett_Doris/article/details/117035207)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文