DriveML Huawei Autonomous Vehicles Challenge Forum

Go back to competition Back to thread list Post in this thread

> Sumolib not installing

I have been following the instructions on the README in the starter kit, but when I run:
from hiway.sumo_scenario import SumoScenario
It says ModuleNotFoundError: No module named 'sumolib'

I am running Ubuntu 18.04 with the linux subsystem for windows 10

Thanks in advance

Posted by: Team90 @ Nov. 1, 2019, 2:26 p.m.

Hi there - did you run `./install_deps.sh` and follow the on-screen instructions to add SUMO to your path?

Posted by: HuaweiUK @ Nov. 1, 2019, 2:55 p.m.

I have added the line
export SUMO_HOME="/usr/bin/sumo"
Which doesn't help

Posted by: Team90 @ Nov. 1, 2019, 3:08 p.m.

In the .bashrc file

Posted by: Team90 @ Nov. 1, 2019, 3:08 p.m.

Can you run,

```
$ ls $SUMO_HOME/tools | grep lib

# we expect to see the following
lib
libsumo
sumolib
```

Posted by: HuaweiUK @ Nov. 1, 2019, 3:15 p.m.

I run the command, and it turned out that the variable wasn't being set properly
It works now
Thanks for the help

Posted by: Team90 @ Nov. 1, 2019, 3:25 p.m.

Glad to hear. This may help someone else out as well.

Posted by: HuaweiUK @ Nov. 1, 2019, 3:26 p.m.
Post in this thread