Error while running rosrun
Hey,
I want to a python code for ROS and I get the following error while running rosrun
(I am very new to ROS):
from: can't read /var/mail/functions from: can't read /var/mail/moviepy.editor from: can't read /var/mail/sklearn.svm from: can't read /var/mail/sklearn.model_selection from: can't read /var/mail/__future__ from: can't read /var/mail/std_msgs.msg from: can't read /var/mail/sensor_msgs.msg from: can't read /var/mail/nav_msgs.msg from: can't read /var/mail/cv_bridge /home/sarvagya/catkin_ws/src/road_detection_svm/src/ML_road.py: line 18: class: command not found /home/sarvagya/catkin_ws/src/road_detection_svm/src/ML_road.py: line 20: syntax error near unexpected token
(' /home/sarvagya/catkin_ws/src/road_detection_svm/src/ML_road.py: line 20:
def __init__(self):'
Can someone help me with this?
I think you'll need to post your environment variables, but one of the
ROS
-related ones looks to be pointing at/var/mail/
, which is very much wrong!