During the initialization of rosdep when installing ROS, execute to:
sodu rosdep init
Error: sudo: rosdep: command not found
Reason: The python-rosdep package is not installed
Solution:
sudo apt-get install python-rosdep
Then re-execute:
sudo rosdep init
rosdep update