Trouble running sumo flow demo example

Repost from user Jin G.

After going through the Flow installation tutorial I tried to run the sumo demo example using the following terminal command:

python examples/sumo/

I got the following error message: Could not connect to TraCI server at localhost: 40335 [Errno 111] Connection refused

Any thoughts on what to do to fix this issue?