1- Install ncclient
2- Example:
...
sudo apt-get install libxml2-dev libxslt1-dev
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
sudo apt-get install python3
python3 -V
sudo apt install python3-pip
sudo pip install ncclient
...