Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] runner.py

Am 2018-01-23 11:18, schrieb neda divzad via sumo-user:
i want to run this sumo example (Tutorials/TraCI4Traffic Lights)

but when i try to run python runner.py i have this error Traceback (most
recent call last): File
"C:\sumo-win32-0.29.0\sumo-0.29.0\docs\tutorial\traci_tls\runner.py", line
37, in from sumolib import checkBinary File
"C:\sumo-win32-0.29.0\sumo-0.29.0\tools\sumolib__init__.py", line 37, in
from . import files, net, output, sensors, shapes File
"C:\sumo-win32-0.29.0\sumo-0.29.0\tools\sumolib\net__init__.py", line 37,
in from . import lane, edge, node, connection, roundabout File
"C:\sumo-win32-0.29.0\sumo-0.29.0\tools\sumolib\net\lane.py", line 109
raise ValueError, 'edge for this lane not yet defined' ^ SyntaxError:
invalid syntax

how can solve it?? thanks alot

The problem is you are using python3 with  apython 2 script,
I answered already here: https://stackoverflow.com/questions/48399158

Best regards,
Michael


Back to the top