error in setup.bash

asked 2014-09-27 06:30:31 -0500

ama gravatar image

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?

edit retag flag offensive close merge delete

Comments

1

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

dornhege gravatar imagedornhege ( 2014-09-27 10:18:51 -0500 )edit
1

Did you install correctly ros?, try to reinstall

Bastbeat gravatar imageBastbeat ( 2014-09-28 03:50:17 -0500 )edit

Hi ,how to solve this issue?

lsh gravatar imagelsh ( 2017-10-30 03:47:39 -0500 )edit