- Have installed on OSX but get a failure when installing on ubuntu. Tried from library, from source package... tried sudo... tried python and python3... always fails at this spot:
Running setup.py (path:/tmp/pip-build-hbq_7guk/pynacl/setup.py) egg_info for package pynacl
This seems to be an issue popping up recently because the newer version of paramiko (which is a dependency of ncclient) has an unstable dependency in pynacl which does not compile on some distros. One solution I found by googling is to try to first uninstall paramiko and then install a specific version known to be stable.
$ pip uninstall paramiko
$ pip install paramiko==2.1.2
$ pip install ydk-models-cisco-ios-xe
Also install a whole slew of other dependencies before paramiko could be installed.
sudo apt-get install libffi-dev libssl-dev zlib1g-dev python-lxml libxml2-dev libxslt1-dev
Try just googling and copy pasting which allowed for the paramiko install, which allowed for the ydk-models-cisco-ios-xe install.
System dependencies are documented at: