Resolving Dependencies
Before you can build your catkin workspace you need to make sure that you have all the required dependencies. We use the rosdep tool for this:
$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y
I have this error:
Code: Select all
ERROR: Rosdep experienced an error: Could not detect OS, tried ['windows', 'ubuntu', 'rhel', 'qnx', 'osx', 'opensuse', 'mint', 'gentoo', 'freebsd', 'fedora', 'debian', 'cygwin', 'arch']
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep
rosdep version: 0.10.30
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/rosdep2/main.py", line 126, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/lib64/python2.7/site-packages/rosdep2/main.py", line 288, in _rosdep_main
return _package_args_handler(command, parser, options, args)
File "/usr/lib64/python2.7/site-packages/rosdep2/main.py", line 365, in _package_args_handler
lookup = _get_default_RosdepLookup(options)
File "/usr/lib64/python2.7/site-packages/rosdep2/main.py", line 117, in _get_default_RosdepLookup
verbose=options.verbose)
File "/usr/lib64/python2.7/site-packages/rosdep2/sources_list.py", line 563, in create_default
matcher = DataSourceMatcher.create_default(os_override=os_override)
File "/usr/lib64/python2.7/site-packages/rosdep2/sources_list.py", line 263, in create_default
os_name, os_version, os_codename = os_detect.detect_os()
File "/usr/lib64/python2.7/site-packages/rospkg/os_detect.py", line 459, in detect_os
raise OsNotDetected("Could not detect OS, tried %s"%attempted)
OsNotDetected: Could not detect OS, tried ['windows', 'ubuntu', 'rhel', 'qnx', 'osx', 'opensuse', 'mint', 'gentoo', 'freebsd', 'fedora', 'debian', 'cygwin', 'arch']
Thank you