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 serial_node.py /dev/ttyACM0 for Arduino sketch, i receive an error of:

Traceback (most recent call last):   File "/opt/ros/kinetic/lib/rosserial_python/serial_node.py", line 39, in <module>
    from rosserial_python import SerialClient, RosSerialServer   File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosserial_python/__init__.py", 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/SerialClient.py /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