Rosserial_python ServiceClient not found

asked 2018-09-24 22:49:30 -0600

Nas gravatar image

updated 2018-09-24 23:41:35 -0600

ahendrix gravatar image

When I run rosrun rosserial_python /dev/ttyACM0 for Arduino sketch, i receive an error of:

Traceback (most recent call last):   File "/opt/ros/kinetic/lib/rosserial_python/", line 39, in <module>
    from rosserial_python import SerialClient, RosSerialServer   File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosserial_python/", line 1, in <module>
    from SerialClient import * ModuleNotFoundError: No module named 'SerialClient'

Tried locating the file using locate SerialClient and the file is in: /opt/ros/kinetic/lib/python2.7/dist-packages/rosserial_python/ /opt/ros/kinetic/lib/python2.7/dist-packages/rosserial_python/SerialClient.pyc

May I know how to overcome this problem?

edit retag flag offensive close merge delete