Hi Ali,
Have you already had a look at this tutorial? -> https://sumo.dlr.de/docs/Tutorials/TraCI4Traffic_Lights.html. Sometimes it is good to start by analyzing a working script. The python file that corresponds to that tutorial can be found on GitHub here: https://github.com/eclipse/sumo/blob/master/tests/complex/tutorial/traci_tls/runner.py Best regards, Angelo ________________________________ Von: sumo-user <[email protected]> im Auftrag von ali mirzaei <[email protected]> Gesendet: Freitag, 12. März 2021 09:21:20 An: Sumo project User discussions Betreff: [sumo-user] coupling python file and GUI Hello, I am trying to see how TraCI works by coupling a python file (specifically runner.py) with SUMO-GUI. Although I've read the manual(https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html) several times, I fail repeatedly. Could you tell me what the solution is step-by-step? (Is it possible that there is something wrong with my computer settings? what about the path I call the file and environment variables?) Regards, Ali
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
