Ask Your Question
0

Creating a new overlay

asked 2014-04-21 16:18:02 -0500

smart engineer gravatar image

updated 2014-04-21 17:45:26 -0500

Thomas gravatar image

when i type this command in the terminal rosws init ~/fuerte_workspace /opt/ros/fuerte the result is

smart-engineers@smartengineers-HP-Pavilion-g6-Notebook-PC:~$ rosws init ~/fuerte_workspace /opt/ros/fuerte
Traceback (most recent call last):
  File "/usr/local/bin/rosws", line 52, in <module>
    import rosinstall.rosws_cli
  File "/usr/local/lib/python2.7/dist-packages/rosinstall/__init__.py", line 33, in <module>
    import wstool.helpers
  File "/usr/local/lib/python2.7/dist-packages/wstool/helpers.py", line 37, in <module>
    from wstool.config_elements import SetupConfigElement
  File "/usr/local/lib/python2.7/dist-packages/wstool/config_elements.py", line 38, in <module>
    from vcstools.vcs_abstraction import get_vcs_client
  File "/usr/local/lib/python2.7/dist-packages/vcstools/__init__.py", line 44, in <module>
    from vcstools.svn import SvnClient
  File "/usr/local/lib/python2.7/dist-packages/vcstools/svn.py", line 44, in <module>
    import dateutil.parser  # For parsing date strings
  File "/usr/local/lib/python2.7/dist-packages/dateutil/parser.py", line 24, in <module>
    from six import text_type, binary_type, integer_types
ImportError: No module named six

plz need an urgent help to get rid of this error???

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-04-21 18:55:12 -0500

ahendrix gravatar image

It looks like your python packages are either out-of-date or missing dependencies.

Since it's referencing python modules in /usr/local/, I assume you've installed rosws through pip. If that isn't what you were expecting, you should probably try to uninstall the pip version.

My best guess is that you're missing the six library, and possibly other dependencies. I would try to run: sudo pip install -U rosws to get the latest version of rosws, and hopefully that will pull in the required dependencies as well. If it doesn't, you could try running sudo pip install six and see if that helps.

edit flag offensive delete link more

Comments

i am very thankful to your help ,,, when i type the """sudo pip install -U rosws""" in the terminal the output is """ smart-engineers@smartengineers-HP-Pavilion-g6-Notebook-PC:~$ sudo pip install -U rosws Traceback (most recent call last): File "/usr/bin/pip", line 5, in <module> from pkg_resources import load_entry_point ImportError: No module named pkg_resources """ How can i get rid of this???

smart engineer gravatar image smart engineer  ( 2014-04-21 23:59:29 -0500 )edit

It sounds like your python installation is seriously broken. I suggest searching the internet for that error message or posting on one of the message boards for your linux distribution.

ahendrix gravatar image ahendrix  ( 2014-04-22 06:22:56 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-04-21 16:18:02 -0500

Seen: 210 times

Last updated: Apr 21 '14