Trying to run the installer the python to read the cfg.yml fails because the python script can not include/find the yaml module. Suggest installing pyyaml as part of the installer script.
This can be accomplished with pip install pyyaml, but only if user has python-pip installed. Alternative is to apt-get pyyaml.
Please see output from below:
contiv@contivB1:~$ bash net_demo_installer
Parsing config file...
Traceback (most recent call last):
File "./genInventoryFile.py", line 4, in
import yaml
ImportError: No module named yaml
Fatal: error parsing ./cfg.yml and generating inventory file
contiv@contivB1:~$
Trying to run the installer the python to read the cfg.yml fails because the python script can not include/find the yaml module. Suggest installing pyyaml as part of the installer script. This can be accomplished with pip install pyyaml, but only if user has python-pip installed. Alternative is to apt-get pyyaml.
Please see output from below: contiv@contivB1:~$ bash net_demo_installer Parsing config file... Traceback (most recent call last): File "./genInventoryFile.py", line 4, in
import yaml
ImportError: No module named yaml
Fatal: error parsing ./cfg.yml and generating inventory file
contiv@contivB1:~$