YousefBallout
YousefBallout

Reputation: 39

Error 'Could not connect to TraCI server at localhost: 40335 [Errno 111] Connection refused'

Repost from J. Guo:

Hi everyone, I followed the document to install Flow and when type in 'python examples/sumo/sugiyama.py' to check my installation, it returned: Could not connect to TraCI server at localhost: 40335 [Errno 111] Connection refused Did anyone have the same error and what's the reason?

Best,

Jin

Upvotes: 1

Views: 1262

Answers (1)

YousefBallout
YousefBallout

Reputation: 39

Repost from: Aboudy Kreidieh

One issue might be that you are not on the conda environment when you ran the simulation. Before you run an experiment from your terminal, type source activate flow and try again.

Let us now if this works!

Best,

Aboudy

Upvotes: 2

Related Questions