daq
daq copied to clipboard
sudo cmd/run -s throws ModuleNotFound exception
Running sudo cmd/run -s after building throws an exception since it cant find the PyYAML module. Issue has been seen in both rodete and vanilla Debian.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux rodete
Release: rodete
Codename: rodete
$ sudo cmd/run -s
.
.
.
Traceback (most recent call last):
File "daq/daq.py", line 14, in <module>
import runner
File "xx/daq/daq/runner.py", line 13, in <module>
import network
File "xx/daq/daq/network.py", line 6, in <module>
from topology import FaucetTopology
File "xx/daq/daq/topology.py", line 7, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
Cleanup docker kill daq-faux
daq-faux
Done with run, exit 1
Also seen in
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.5 (stretch)
Release: 9.5
Codename: stretch