Rosserial_python ServiceClient not found
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?