Red Hat Bugzilla – Bug 975896
rosdep init fails
Last modified: 2013-09-09 19:59:32 EDT
Description of problem:
When as root I try to run "rosdep init", it fails with an internal error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. sudo rosdep init
failed to load symbols, rosdep will not function properly
Cannot import rospkg, rosdep will not function properly
Traceback (most recent call last):
File "/usr/bin/rosdep", line 3, in <module>
from rosdep2.main import rosdep_main
File "/usr/lib/python2.7/site-packages/rosdep2/main.py", line 50, in <module>
from .lookup import RosdepLookup, ResolutionError
File "/usr/lib/python2.7/site-packages/rosdep2/lookup.py", line 41, in <module>
from .rospkg_loader import RosPkgLoader
File "/usr/lib/python2.7/site-packages/rosdep2/rospkg_loader.py", line 37, in <module>
ImportError: No module named catkin_pkg.package
python-rospkg is instealled.
Did you source /usr/share/ros/setup.sh before running rosdep?
No I did not, but trying again after sourcing as above results in exactly the same error.
Ok, it looks like i accidentally pushed a version of rosdep that depends on catkin_pkg, which is still under review. I'm going to add that review request as a blocker and try to get it into Fedora as soon as possible. In the meantime you can try building the catkin_pkg rpm yourself.
python-rosdep-0.10.21-1.fc19 has been submitted as an update for Fedora 19.
python-rosdep-0.10.21-1.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-rosdep-0.10.21-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-rosdep-0.10.21-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
python-rosdep-0.10.21-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.