Module rosdep pre-installed. When attempting sudo rosdep init from the command line:

 **File "/usr/local/bin/rosdep", line 4, in <module> __import__('pkg_resources').run_script('rosdep==0.11.2', 'rosdep') File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 735, in run_script File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1644, in run_script pkg_resources.ResolutionError: No script named 'rosdep'** 

At the address /usr/local/bin/ , among other files, rosdep and rosdep-source . The contents of both rosdep and rosdep-source files are the same:

 #!/usr/bin/python # EASY-INSTALL-SCRIPT: 'rosdep==0.11.2','rosdep' __requires__ = 'rosdep==0.11.2' __import__('pkg_resources').run_script('rosdep==0.11.2', 'rosdep') 

    1 answer 1

    judging by the above information, you installed a package containing the word rosdep in the name, which contains a version other than 0.11.2, which is requested by the /usr/local/bin/rosdep .

    you need to decide - what exactly you need: a package from the repository or a scattering of files / directories on the file system.

    and then proceed according to the decision: either delete the package, or somehow clean out those files and directories scattered around the file system.