rosdep not properly installed
This is probably my own newness with Python. Please help me get unstuck?
From the Mac OS X install instructions (I know they are not supported) I enter:
sudo -H python -m pip install -U wstool setuptools rosdep rosinstall rosinstall_generator rospkg catkin-pkg Distribute sphinx
I get a long list of "requirement already up to date" messages, for example:
Requirement already up-to-date: rosdep in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Now I do:
sudo -H rosdep init
Which returns "command not found". This is not surprising because rosdep (or any of the others) are not on the path, but they are installed properly, I think. I am confused because I don't know what step I missed which was supposed to put that script (and all the others) on the path.
Did you try this?
I hadn't tried that, but anyway, that doesn't add anything to the PATH which is what is examined when I try to launch rosdep from bash. My question is what would normally be adding to the PATH?
Did you
source ~/ros_catkin_ws/install_isolated/setup.bash
? If so, could you show us the contents of yourPATH
before and after your source that file?This succeeds:
$ sudo -H python -m pip install -U wstool setuptools rosdep rosinstall rosinstall_generator rospkg catkin-pkg Distribute sphinx
But this fails:
$ wstool init -j8 src kinetic-desktop-wet.rosinstall bash: wstool: command not found
Full trace: https://pastebin.com/raw/TREJETa3
Could you post the contents of your
PYTHONPATH
?Its not assigned to anything! But would that give me a "command not found" from bash?
Depends -- I don't know how OS X handles python, but on Gentoo the source of frustration is frequently the python executor not knowing where to find the modules.
That said, the closer I look at your output, the more confused I become. What does
which rosinstall
say?