Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No module named defusedxml.xmlrpc

I'm using robot_localization offered by ROS downloaded from gihub .It can be compiled and I haven't changed anything of it. When I executed the command: 'roslaunch ekf_template.launch' in a terminal,I got several warnings as follows:

Traceback (most recent call last): File "/home/pantiq/robot/devel/bin/roslaunch", line 6, in exec(fh.read()) File "", line 34, in File "/home/pantiq/robot/devel/lib/python2.7/dist-packages/roslaunch/init.py", line 35, in exec(__fh.read()) File "", line 56, in File "/home/pantiq/robot/src/ros_comm/tools/roslaunch/src/roslaunch/launch.py", line 55, in from roslaunch.nodeprocess import create_master_process, create_node_process File "/home/pantiq/robot/src/ros_comm/tools/roslaunch/src/roslaunch/nodeprocess.py", line 52, in from rosmaster.master_api import NUM_WORKERS File "/home/pantiq/robot/src/ros_comm/tools/rosmaster/src/rosmaster/init.py", line 35, in from .main import rosmaster_main File "/home/pantiq/robot/src/ros_comm/tools/rosmaster/src/rosmaster/main.py", line 43, in import rosmaster.master File "/home/pantiq/robot/src/ros_comm/tools/rosmaster/src/rosmaster/master.py", line 47, in import rosmaster.master_api File "/home/pantiq/robot/src/ros_comm/tools/rosmaster/src/rosmaster/master_api.py", line 72, in from rosmaster.util import xmlrpcapi File "/home/pantiq/robot/src/ros_comm/tools/rosmaster/src/rosmaster/util.py", line 48, in from defusedxml.xmlrpc import monkey_patch ImportError: No module named defusedxml.xmlrpc Then I downloaded a folder named defusedxml from a website,and put it in the robot_localization/src path,still it doesn't work.

What should I do with it?Shall I custimaze it or do something else? I do appreciate it if anyone can help me out.