rosdep update error

Published:

rosdep update error

When I tried rosdep update

The error message shown:

pkg_resources.DistributionNotFound: The 'rospkg>=1.2.7' distribution was not found and is required by rosdep

Solve:

sudo apt-get install python-rospkg