Pyrobot Install Error

/home/ubuntu/pyrobot/bin/pyrobot: line 1: -e: command not found
/home/ubuntu/pyrobot/bin/pyrobot: line 8: 
Pyrobot - Python Robotics
(c) 2005, PyroRobotics.org. Licensed under the GNU GPL.

THIS FILE IS AUTOMATICALLY GENERATED
: command not found
/home/ubuntu/pyrobot/bin/pyrobot: line 11: __author__: command not found
/home/ubuntu/pyrobot/bin/pyrobot: line 12: __version__: command not found
/home/ubuntu/pyrobot/bin/pyrobot: line 20: syntax error near unexpected token `('
/home/ubuntu/pyrobot/bin/pyrobot: line 20: `        cwd = os.getcwd() + '\\' + sys.argv[0]'

To fix this problem you need to remove the -e from the front the first line of the “~/pyrobot/bin/pyrobot” file
Before:

 -e #!/usr/bin/python2.6

After:

 #!/usr/bin/python2.6

Once this is done, re-run pyrobot and the GUI should start as it should.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>