Robotics StackExchange | Archived questions

error in setup.bash

I have just installed Indigo on ubuntu 14.04. Now when i do

source /opt/ros/indigo/setup.bash

I get the following error:

File "<string>", line 1
import os; print(os.pathsep.join([x for x in "/opt/ros/indigo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" ".split(os.pathsep) if not any([d for d in ['cturtle', 'diamondback', 'electric', 'fuerte'] if d in x])]))
                                                                                                                                                                                                                                                                     ^                                          SyntaxError: EOL while scanning string literal

Any idea? What is wrong?

Asked by ama on 2014-09-27 06:30:31 UTC

Comments

There is an extra " before the .split that shouldn't be there. Did you manually do anything to that file?

Asked by dornhege on 2014-09-27 10:18:51 UTC

Did you install correctly ros?, try to reinstall

Asked by Bastbeat on 2014-09-28 03:50:17 UTC

Hi ,how to solve this issue?

Asked by lsh on 2017-10-30 03:47:39 UTC

Answers