Here are the Ubuntu packages that we will install. You may already have some of the packages such pip and git:
$ sudo apt-get install -y python3-dev libxml2-dev libxslt1-dev libffi-dev libssl-dev zlib1g-dev python3-pip git python3-requests
The ncclient (https://github.com/ncclient/ncclient) library is a Python library for NETCONF clients. We will install this from the GitHub repository so that we can install the latest version:
$ git clone https://github.com/ncclient/ncclient$ cd ncclient/$ sudo python3 setup.py ...