When I run rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB0, there is a problem
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/rosserial_python/serial_node.py", line 39, in
from rosserial_python import SerialClient, RosSerialServer
ImportError: cannot import name 'RosSerialServer' from 'rosserial_python' (/opt/ros/kinetic/lib/python2.7/dist-packages/rosserial_python/init.py)
When I run rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB0, there is a problem
Traceback (most recent call last): File "/opt/ros/kinetic/lib/rosserial_python/serial_node.py", line 39, in
from rosserial_python import SerialClient, RosSerialServer
ImportError: cannot import name 'RosSerialServer' from 'rosserial_python' (/opt/ros/kinetic/lib/python2.7/dist-packages/rosserial_python/init.py)
I don't know how to fix it