ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
So I found the solution:
So I originally had installed rosserial_python from source in my catkin_ws. I then removed that code from the src directory and rebuilt it with catkin_make ,but I still had the code in the devel, build, and install directories. After removing the lib, share, and install directories from those directories and rebuilding then I no longer get this error.
Looks like the catkin workspace overlay was getting in the way of the code in /opt/ros/melodic.