when i was installing rosdep i got following error

asked 2019-10-26 21:30:52 -0500

dell gravatar image

updated 2019-10-27 05:27:01 -0500

gvdhoorn gravatar image

Straight dump of the error message:

 Traceback (most recent call last):
  File "/usr/bin/rosdep", line 3, in <module>
    from rosdep2.main import rosdep_main
  File "/usr/lib/python2.7/dist-packages/rosdep2/__init__.py", line 40, in <module>
    from .installers import InstallerContext, Installer, \
  File "/usr/lib/python2.7/dist-packages/rosdep2/installers.py", line 36, in <module>
    from rospkg.os_detect import OsDetect
  File "/usr/lib/python2.7/dist-packages/rospkg/os_detect.py", line 38, in <module>
    import locale
ImportError: No module named locale
edit retag flag offensive close merge delete


Could you provide the install input?

Because the module locale is aprt of python standard libs

duck-development gravatar image duck-development  ( 2019-10-28 04:41:10 -0500 )edit