contiv-experimental / demo

Easy cut demos to try contiv [DEPRECATED]
Other
6 stars 25 forks source link

Unable to parse config file #12

Closed acusworth closed 8 years ago

acusworth commented 8 years ago

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:~$