Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

Import error catkin_pkg while importing rosbag, roslib and rospy

$
0
0
I am novice to ROS and I followed the ROS installation tutorial to install ROS kinetic. After installing, I open python to import rospy, roslib and rosbag, but it throws the following error:> import roslib Traceback (most recent call last): File "", line 1, in File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/__init__.py", line 54, in import roslib.stacks File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/stacks.py", line 46, in import roslib.packages File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/packages.py", line 49, in from catkin.find_in_workspaces import find_in_workspaces as catkin_find File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/find_in_workspaces.py", line 36, in from catkin_pkg.packages import find_packages ImportError: No module named catkin_pkg.packages I again installed catkin_pkg using the following command but nothing happened: sudo apt-get install --reinstall python-catkin-pkg Can anyone suggest me where I am going wrong?

Viewing all articles
Browse latest Browse all 475

Trending Articles