0

我的操作系统是 18.04。sumo 版本是 1.2.0
我想使用工具-randomTrip。
我输入这样的命令:

python ~/sumo/tools/randomTrips.py  -n xxx.net.xml -r xxx.rou.xml -e 50 -l

但是错误日志是:

File "/home/dnl/sumo/tools/randomTrips.py", line 506, in <module> if not main(get_options()): File "/home/dnl/sumo/tools/randomTrips.py", line 485, in main subprocess.call(args) File "/home/dnl/anaconda3/envs/flow/lib/python3.5/subprocess.py", line 247, in call with Popen(*popenargs, **kwargs) as p: File "/home/dnl/anaconda3/envs/flow/lib/python3.5/subprocess.py", line 676, in __init__ restore_signals, start_new_session) File "/home/dnl/anaconda3/envs/flow/lib/python3.5/subprocess.py", line 1289, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'duarouterD'

那么,该如何处理呢?我可以在 Windows 操作系统上运行它,但不能在 ubuntu 上运行。

4

1 回答 1

0

这似乎是 SUMO 问题而不是 Flow 问题?我会将其发布在他们的 github 页面上。

于 2019-07-23T03:35:55.653 回答