Hi, how did you install sumo, /usr/share seems like an unusual location to me? Please try to set the SUMO_HOME environment variable to the directory containing the bin dir (which in turn contains duarouter) because it did not find this executable.
Regards, Michael Am 2015-03-31 11:42, schrieb Amodu Oluwatosin: > Good Day to all, > > Please I am new to sumo and I am trying to run the following command > > python /usr/share/sumo/tools/trip/randomTrips.py -n map.net.xml -r > map.rou.xml -e 100 -l > > but it displays something like this > > calling /usr/share/sumo/tools/trip/../../bin/duarouter -n map.net.xml > -t > trips.trips.xml -o map.rou.xml --ignore-errors --begin 0 --end 100.0 > --no-step-log > Traceback (most recent call last): > File "/usr/share/sumo/tools/trip/randomTrips.py", line 209, in > <module> > main(get_options()) > File "/usr/share/sumo/tools/trip/randomTrips.py", line 205, in main > subprocess.call(args) > File "/usr/lib/python2.7/subprocess.py", line 522, in call > return Popen(*popenargs, **kwargs).wait() > File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ > errread, errwrite) > File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child > raise child_exception > > OSError: [Errno 2] No such file or directory > > Please what could I do to rectify this. This is my first attempt at > simulating with sumo. > > Thanks > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub > for all > things parallel software development, from weekly thought leadership > blogs to > news, videos, case studies, tutorials and more. Take a look and join > the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
