【发布时间】:2018-12-05 09:30:47
【问题描述】:
我尝试运行 SUMO 教程。
这是网站:
我输入了这个命令:
sumo-gut data/cross.sumocfg
然后我跑了:
python3 runner.py
然后出现错误:
Traceback (most recent call last):
File "runner.py", line 122, in <module>
traci.start([sumoBinary, "-c", "data/cross.sumocfg","--tripinfo-output", "tripinfo.xml"])
File "/Users/xieweian/sumo/tools/traci/__init__.py", line 96, in start
sumoProcess = subprocess.Popen(cmd + ["--remote-port", str(port)])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'sumo-guiD': 'sumo-guiD'
我应该怎么做才能运行这个演示?
【问题讨论】: