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

Revision history [back]

click to hide/show revision 1
initial version

ahendrix advice led to discovering that several packages were indeed installed by pip, which somewhere in the process I removed. So installed pip from Aptitude. Also with another ROS Answer from hersh 'cannot run roscore due to error in rosversion', Oct 19 '12 uninstalled rosinstall, rospkg, rosdep, vcstools, catkin-pkg, pyYusb with "sudo pip uninstall PACKAGE", several times in some cases until that package was not found. However, now still have one error message from roscore,

~$ roscore

Traceback (most recent call last): File "/opt/ros/groovy/bin/roscore", line 62, in <module> import roslaunch

File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/__init__.py", line 46, in <module> import rospkg

ImportError: No module named rospkg

Not fixed by installing python-rospkg. ROS environment seems ok

~$ env | fgrep ROS

ROS_ROOT=/opt/ros/groovy/share/ros

ROS_PACKAGE_PATH=/home/ross/ros_workspace:/opt/ros/groovy/share:/opt/ros/groovy/stacks ROS_MASTER_URI=http://192.168.2.18:11311

ROS_HOSTNAME=192.168.32.18

ROS_DISTRO=groovy

ROS_ETC_DIR=/opt/ros/groovy/etc/ros

Appreciate what needs to be fixed.

ahendrix advice led to discovering that several packages were indeed installed by pip, which somewhere in the process I removed. So installed pip from Aptitude. Also with another ROS Answer from hersh 'cannot run roscore due to error in rosversion', Oct 19 '12 uninstalled rosinstall, rospkg, rosdep, vcstools, catkin-pkg, pyYusb with "sudo pip uninstall PACKAGE", several times in some cases until that package was not found. However, now still have one error message from roscore,

~$ roscore

Traceback (most recent call last): File "/opt/ros/groovy/bin/roscore", line 62, in <module> import roslaunch

File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/__init__.py", line 46, in <module> import rospkg

ImportError: No module named rospkg

Not fixed Fixed by installing python-rospkg. ROS environment seems okpython-rospkg with aptitude ($sudo apt-get install python-rospkg) and apt-get update that did a lot of cleanup.

~$ env | fgrep ROS

ROS_ROOT=/opt/ros/groovy/share/ros

ROS_PACKAGE_PATH=/home/ross/ros_workspace:/opt/ros/groovy/share:/opt/ros/groovy/stacks ROS_MASTER_URI=http://192.168.2.18:11311

ROS_HOSTNAME=192.168.32.18

ROS_DISTRO=groovy

ROS_ETC_DIR=/opt/ros/groovy/etc/ros

Appreciate what needs to be fixed.