Python gvm

Before running this script which import tool we need to install? Actually I want to create vapt report through gvm so i don’t how to connect to gvm through python script.please give solution. I tried it there are so many errors I got during running this script.

Please note that has nothing to do with NVTs, therefore we moved it here.