ModuleNotFoundError: No module named 'SerialClient'
Hello, I am using ROS noetic on Ubuntu 20.04. The error I am facing now was not anywhere in Ubuntu 18.04 (ROS Melodic). I don't know what's wrong here. I am trying to interface an arduino and following this tutorial link text. When I execute this line (probably the last step in tutorial), following error emerges,
rosrun rosserial_python serial_node.py /dev/ttyACM0
Traceback (most recent call last):
File "/home/redskull/catkin_ws/devel/lib/rosserial_python/serial_node.py", line 15, in <module>
exec(compile(fh.read(), python_script, 'exec'), context)
File "/home/redskull/catkin_ws/src/rosserial/rosserial_python/nodes/serial_node.py", line 39, in <module>
from rosserial_python import SerialClient, RosSerialServer
File "/home/redskull/catkin_ws/devel/lib/python3/dist-packages/rosserial_python/__init__.py", line 34, in <module>
exec(__fh.read())
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'SerialClient'
Here's my environment setup
printenv | grep ROS
ROS_VERSION=1
ROS_PYTHON_VERSION=3
ROS_PACKAGE_PATH=/home/redskull/catkin_ws/src:/opt/ros/noetic/share
ROSLISP_PACKAGE_DIRECTORIES=/home/redskull/catkin_ws/devel/share/common-lisp
ROS_ETC_DIR=/opt/ros/noetic/etc/ros
ROS_MASTER_URI=http://localhost:11311
ROS_ROOT=/opt/ros/noetic/share/ros
ROS_DISTRO=noetic
I have exactly the same problem, with a fresh ROS noetic on Unbutu 20.04!! Please when you get solution, share with me.
see: https://robocademy.com/2020/05/23/get... at: 2.1 Suporte ao Python Uma das versões populares do Python era 2.7. Em 1º de janeiro de 2020, o Python 2.x interrompeu seu suporte oficial. Até o ROS melódico, o suporte ao Python 2.7 estava lá, mas no Noetic, estamos recebendo suporte exclusivo do Python 3.
and: http://repositories.ros.org/status_pa... for rosserial packages.
Let's not ask people to directly contact you, and keep the discussion on ROS Answers. I've removed your email address.
Your post was also not an answer, but a comment, so I've converted it. Please only post answers when you're actually answering a question.
Finally: I'm unsure as to why you link to the 'robocademy' site.