Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] pyCharm as a text editor for using TRACI

Thank you Jakob I will make sure to do that. Thanks once again for the advise.

 

Sent from Mail for Windows

 

From: Jakob Erdmann
Sent: Thursday, October 7, 2021 3:00 AM
To: Sumo project User discussions
Subject: Re: [sumo-user] pyCharm as a text editor for using TRACI

 

The documentation at https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html is up to date. Feel free to ask specific questions if something remains unclear.

We had occasional reports on difficulties with pycharm configuration (though it should be doable in principle).

Since traci is working fine outside pycharm, I'd recommend you try to run your traci script outside this environment.

 

Am Mi., 6. Okt. 2021 um 23:33 Uhr schrieb vincentobiako <vincentobiako@xxxxxxxxx>:

The reason why I ask is because I am getting this errors in pyCharm when I call Traci:

 

 

Sent from Mail for Windows

 

From: vincentobiako
Sent: Wednesday, October 6, 2021 3:48 PM
To: sumo-user@xxxxxxxxxxx
Subject: RE: pyCharm as a text editor for using TRACI

 

Also, is the documentation for Python Traci out of date, I was looking at some videos and noticed some inconsistencies and I am not fully sure if I am implementing Python in Traci correctly. Is there any guiding videos on how to implement Traci for beginners?

 

Sent from Mail for Windows

 

From: vincentobiako
Sent: Wednesday, October 6, 2021 2:58 PM
To: sumo-user@xxxxxxxxxxx
Subject: pyCharm as a text editor for using TRACI

 

Hello Everyone

 

I have just started using Traci as part of my simulation. However, I am extremely confused as to how I can use Traci. I currently have Traci imported as a module within my Python code; however, I am developing my code within pyCharm virtual environment. I was wondering if working in a virtual environment within pyCharm could be causing errors preventing my Traci Python code from interacting with my simulation in sumo-gui? I have the virtual environment as  a folder within my directory, but the script itself is located within that virtual environment folder. Is this an issue for SUMO running Traci Python scripts?

 

Thank you in advance

Ifezue

 

Sent from Mail for Windows

 

 

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

 


Back to the top