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

This might be related to the fact that qt_gui has recently been made wet. This might explain why rospack can find it, but rospkg cannot as older versions of rospkg could not detect wet dependencies. Can you make sure that you have the latest version of the python-* tools?

For Ubuntu first ensure that you don't have the pip versions installed by looking for and removing any ros* stuff in:

ls /usr/local/lib/python2.7/*-packages/

If you find ros* stuff there, uninstall with apt-get and then pip:

sudo dpkg --remove python-rospkg python-rosdep python-catkin-pkg python-rosinstall python-vcstools
sudo pip uninstall rospkg rosdep catkin_pkg rosinstall vcstools

Then update and upgrade:

sudo apt-get update
sudo apt-get install python-rospkg python-rosdep python-catkin-pkg python-rosinstall python-vcstools

For other systems update via pip:

sudo pip install -U rospkg rosdep caktin-pkg

This might be related to the fact that qt_gui has recently been made wet. This might explain why rospack can find it, but rospkg cannot as older versions of rospkg could not detect wet dependencies. Can you make sure that you have the latest version of the python-* tools?

For Ubuntu first ensure that you don't have the pip versions installed by looking for and removing any ros* stuff in:

ls /usr/local/lib/python2.7/*-packages/

If you find ros* stuff there, uninstall with apt-get and then pip:

sudo dpkg --remove python-rospkg python-rosdep python-catkin-pkg python-rosinstall python-vcstools
sudo pip uninstall rospkg rosdep catkin_pkg rosinstall vcstools

Then update and upgrade:

sudo apt-get update
sudo apt-get install python-rospkg python-rosdep python-catkin-pkg python-rosinstall python-vcstools

For other systems update via pip:

sudo pip install -U rospkg rosdep caktin-pkg
caktin-pkg rosinstall vcstools

This might be related to the fact that qt_gui has recently been made wet. This might explain why rospack can find it, but rospkg cannot as older versions of rospkg could not detect wet dependencies. Can you make sure that you have the latest version of the python-* tools?

For Ubuntu first ensure that you don't have the pip versions installed by looking for and removing any ros* stuff in:

ls /usr/local/lib/python2.7/*-packages/

If you find ros* stuff there, uninstall with apt-get and then pip:

sudo dpkg --remove python-rospkg python-rosdep python-catkin-pkg python-rosinstall python-vcstools
sudo pip uninstall rospkg rosdep catkin_pkg rosinstall vcstools

sudo pip uninstall rospkg rosdep catkin_pkg rosinstall vcstools # Yes twice

You should run the pip uninstall twice to ensure that both the apt-get and pip versions have been removed. Then update and upgrade:reinstall with apt-get:

sudo apt-get update
sudo apt-get install --reinstall python-rospkg python-rosdep python-catkin-pkg python-rosinstall python-vcstools

For other systems update via pip:

sudo pip install -U rospkg rosdep caktin-pkg rosinstall vcstools

This might be related to the fact that qt_gui has recently been made wet. This might explain why rospack can find it, but rospkg cannot as older versions of rospkg could not detect wet dependencies. Can you make sure that you have the latest version of the python-* tools?

For Ubuntu first ensure that you don't have the pip versions installed by looking for and removing any ros* stuff in:

ls /usr/local/lib/python2.7/*-packages/

If you find ros* stuff there, uninstall with pip:

sudo pip uninstall rospkg rosdep catkin_pkg rosinstall vcstools
sudo pip uninstall rospkg rosdep catkin_pkg rosinstall vcstools # Yes twice

You should run the pip uninstall twice to ensure that both the apt-get and pip versions have been removed. removed.

EDIT: Apparently you might need to run pip uninstall many times (once for each time you did pip install -U ...). So you should run the above command until you aren't asked to remove any files (it didn't find that package anywhere).

Then update and reinstall with apt-get:

sudo apt-get update
sudo apt-get install --reinstall python-rospkg python-rosdep python-catkin-pkg python-rosinstall python-vcstools

For other systems update via pip:

sudo pip install -U rospkg rosdep caktin-pkg rosinstall vcstools