ros机器人导航实验运行arbotix_gui程序时报错
arbotix_gui
Traceback (most recent call last):
File "/home/huanyu/robot_ws/devel/bin/arbotix_gui", line 15, in
exec(compile(fh.read(), python_script, 'exec'), context)
File "/home/huanyu/robot_ws/src/arbotix_ros-indigo-devel/arbotix_python/bin/arbotix_gui", line 31, in
import wx
ModuleNotFoundError: No module named 'wx'
报错信息显示缺少wx模块,您需要安装wxPython模块。可以使用以下命令进行安装:
pip install wxPython
如果您的Python版本是Python 3,使用以下命令进行安装:
pip3 install wxPython
安装完成后重新运行arbotix_gui程序,看是否解决了问题。