Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ImportError: No module named rosdep2.main

Trying to install ros kinetic according to the official guide .

But always fails.

The first problem is described here. So I deleted all files and key related to ros, and reinstalled again.

Here is the error that occurs now:

$ sudo rosdep init
Traceback (most recent call last):
  File "/usr/bin/rosdep", line 3, in <module>
    from rosdep2.main import rosdep_main
ImportError: No module named rosdep2.main

Anyone can figure it out? Thanks.

ImportError: No module named rosdep2.main

Trying to install ros kinetic according to the official guide .

But always fails.

The first problem is described here. So I deleted all files and key related to ros, and reinstalled again.

Here is the error that occurs now:

$ sudo rosdep init
Traceback (most recent call last):
  File "/usr/bin/rosdep", line 3, in <module>
    from rosdep2.main import rosdep_main
ImportError: No module named rosdep2.main

Anyone can figure it out? Thanks.

ImportError: No module named rosdep2.main

Trying to install ros kinetic according to the official guide .

But always fails.

The first problem is described here. So I deleted all files and key related to ros, and reinstalled again.

Here is the error that occurs now:

$ sudo rosdep init
Traceback (most recent call last):
  File "/usr/bin/rosdep", line 3, in <module>
    from rosdep2.main import rosdep_main
ImportError: No module named rosdep2.main

Anyone can figure it out? Thanks.

ImportError: No module named rosdep2.main

Trying to install ros kinetic according to the official guide .

But always fails.

The first problem is described here. So I deleted all files and key related to ros, and reinstalled again.

Here is the error that occurs now:

$ sudo rosdep init
Traceback (most recent call last):
  File "/usr/bin/rosdep", line 3, in <module>
    from rosdep2.main import rosdep_main
ImportError: No module named rosdep2.main

Anyone can figure it out? Thanks.