ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

RoboNerd's profile - activity

2021-07-15 20:05:49 -0500 received badge  Student (source)
2020-03-28 19:43:27 -0500 received badge  Famous Question (source)
2019-12-20 06:02:24 -0500 answered a question catkin_make error: ImportError: No module named 'error'

So i was able to solve my error by deleting the content inside the BUILD folder and then do catkin_make. So the problem

2019-12-20 06:02:24 -0500 received badge  Rapid Responder (source)
2019-12-20 05:59:26 -0500 commented answer catkin_make error: ImportError: No module named 'error'

sure, I'll do that.

2019-12-20 05:23:17 -0500 marked best answer catkin_make error: ImportError: No module named 'error'

So, i am a beginner in ROS i have this error every time i do a catkin_make

Traceback (most recent call last):
 File "/opt/ros/kinetic/share/genpy/cmake/../../../lib/genpy/genmsg_py.py", line 44, in <module>
    import genpy.generator
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/__init__.py", line 34, in <module>
    from . message import Message, SerializationError, DeserializationError, MessageException, struct_I
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/message.py", line 44, in <module>
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 2, in <module>
    from error import *
ImportError: No module named 'error'

and after a lot of googling i figured that the problem is because of the PYTHONPATH.

so to check my PYTHONPATH is did

echo $PYTHONPATH

and i got

/home/username/catkin_ws/devel/lib/python3/dist-packages:/opt/ros/kinetic/lib/python2.7/dist-packages

i think the reason behind the problem is the "/python3/dist-package" how do i change it ? i tried adding the path manually in ~/.bashrc

export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages

but still every time i doecho $PYTHONPATH i get

/opt/ros/kinetic/lib/python2.7/dist-packages:/home/username/catkin_ws/devel/lib/python3/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages

how do i solve this ? Please HELP !

2019-12-20 05:23:09 -0500 commented answer catkin_make error: ImportError: No module named 'error'

No, i have not installed Anaconda and i don't know how there are mentions of Python 3 in my PYTHONPATH But i was able to

2019-12-20 04:13:27 -0500 commented answer catkin_make error: ImportError: No module named 'error'

it doesn't solve the issue, the error persists. However every time i do echo $PYTHONPATH i get /opt/ros/kinetic/lib/pyth

2019-12-20 04:07:48 -0500 commented answer catkin_make error: ImportError: No module named 'error'

it doesn't solve the issue, the error persists.

2019-12-20 04:02:18 -0500 received badge  Notable Question (source)
2019-12-19 09:15:05 -0500 received badge  Popular Question (source)
2019-12-19 01:18:13 -0500 edited question catkin_make error: ImportError: No module named 'error'

How to change PYTHONPATH ? So, i am a beginner in ROS i have this error every time i do a catkin_make Traceback (most

2019-12-19 01:16:36 -0500 asked a question catkin_make error: ImportError: No module named 'error'

How to change PYTHONPATH ? So, i am a beginner in ROS i have this error every time i do a catkin_make Traceback (most

2019-11-08 10:08:59 -0500 received badge  Notable Question (source)
2019-11-08 10:08:59 -0500 received badge  Famous Question (source)
2019-09-30 08:32:58 -0500 answered a question IMU with android phone

[error 99] means IP (host) address is wrong. open terminal and enter ifconfig then write the IP of "local loopback

2019-07-22 06:24:30 -0500 received badge  Enthusiast
2019-07-21 02:13:14 -0500 received badge  Popular Question (source)
2019-07-19 05:29:35 -0500 received badge  Editor (source)
2019-07-19 05:29:35 -0500 edited question Turtlebot won't show up in "roslaunch turtlebot_gazebo turtlebot_world.launch"

Turtlebot won't show up in "roslaunch turtlebot_gazebo turtlebot_world.launch" I think ran a wrong code line in terminal

2019-07-19 05:16:39 -0500 asked a question Turtlebot won't show up in "roslaunch turtlebot_gazebo turtlebot_world.launch"

Turtlebot won't show up in "roslaunch turtlebot_gazebo turtlebot_world.launch" I think ran a wrong code line in terminal

2019-06-26 15:38:41 -0500 answered a question installing turtlebot for kinetic

Well i have faced the same problem, I did follow all the instructions in the videos, however the installation was for in

2019-06-24 05:18:34 -0500 marked best answer Is ROS Melodic developed enough to learn ROS as a beginner?

I started ROS in Indigo, learned with different youtube videos, books and an Introductory course on EDX. So now as indigo is no longer in support I thought of migrating to a more supporting version like Melodic Morenia or Kinetic kame. So which version should I migrate to for exploring everything ROS has to offer like Moveit !, rviz, gazebo. I only know about these 3 and still at the beginner level. Melodic was newly released when I started learning ROS and during installation, I read in a few forums that melodic was not developed enough to start learning ROS with, So is Melodic Morenia preferable now or should I install Kinetic kame ?

2019-06-24 05:18:34 -0500 received badge  Scholar (source)
2019-05-27 15:43:11 -0500 received badge  Famous Question (source)
2019-05-26 16:52:36 -0500 received badge  Notable Question (source)
2019-05-26 11:35:52 -0500 commented answer Is ROS Melodic developed enough to learn ROS as a beginner?

Thank you for answering, Is there like a list of packages that are supported by melodic.

2019-05-26 11:29:37 -0500 commented answer Is ROS Melodic developed enough to learn ROS as a beginner?

Thank you so much for giving your time to answer my question, And Yes I am aware of the ROS-ubuntu version combo, presen

2019-05-26 11:29:27 -0500 commented answer Is ROS Melodic developed enough to learn ROS as a beginner?

Thank you so much for giving your time to answer my question, And Yes I am aware of the ROS-ubuntu version combo, presen

2019-05-26 11:28:37 -0500 received badge  Popular Question (source)
2019-05-26 11:23:21 -0500 received badge  Supporter (source)
2019-05-26 11:22:53 -0500 commented answer Is ROS Melodic developed enough to learn ROS as a beginner?

Thank you so much for giving your time to answer my question, And Yes I am aware of the ROS-ubuntu version combo, presen

2019-05-26 10:14:15 -0500 edited question Is ROS Melodic developed enough to learn ROS as a beginner?

Is ROS Melodic developed enough to learn ROS for beginners? I started ROS in Indigo, learned with different youtube vide

2019-05-26 10:13:13 -0500 asked a question Is ROS Melodic developed enough to learn ROS as a beginner?

Is ROS Melodic Morenia developed enough to start learning ROS with ? I started ROS in Indigo, learned with different you