Я пытаюсь сделать traffi c управление светом с помощью SUMO. В настоящее время я использую MacOS и выполняю на терминале. Это ошибка, которую я получаю. Выдает FatalTraCIError. Пожалуйста, помогите мне решить это. Заранее спасибо.
Using TensorFlow backend.
2020-04-25 13:09:53.863449: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-04-25 13:09:53.878681: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff19d414980 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-04-25 13:09:53.878702: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
Retrying in 1 seconds
Could not connect to TraCI server at localhost:56266 [Errno 61] Connection refused
Retrying in 1 seconds
Could not connect to TraCI server at localhost:56266 [Errno 61] Connection refused
Retrying in 1 seconds
Could not connect to TraCI server at localhost:56266 [Errno 61] Connection refused
Retrying in 1 seconds
Could not connect to TraCI server at localhost:56266 [Errno 61] Connection refused
Retrying in 1 seconds
Could not connect to TraCI server at localhost:56266 [Errno 61] Connection refused
Traceback (most recent call last):
File "traffic_light_control.py", line 269, in <module>
traci.start(sumocmd)
File "/usr/local/opt/sumo/share/sumo/tools/traci/main.py", line 130, in start
return init(sumoPort, numRetries, "localhost", label, sumoProcess)
File "/usr/local/opt/sumo/share/sumo/tools/traci/main.py", line 111, in init
_connections[label] = connect(port, numRetries, host, proc)
File "/usr/local/opt/sumo/share/sumo/tools/traci/main.py", line 102, in connect
raise FatalTraCIError("Could not connect in %s tries" % (numRetries + 1))
traci.exceptions.FatalTraCIError: Could not connect in 11 tries