Got the issue. get_virtual_contract_note is available for python 3.10 (version 5.0.1 is the latest) but not for python3.8 (version 4.0.0 is the latest)
kiteconnect in /home/ubuntu/venv/lib/python3.8/site-packages (4.0.0) --> This does not have the API.
/home/harsha/.local/lib/python3.10/site-packages (5.0.1) --> This has the API.
I am trying to upgrade python and see if it works.
I think you are using an older version of pykiteconnect. You can use the latest version and call this method. There are some breaking changes in previous releases. Make sure you watch out for those.
kiteconnect in /home/ubuntu/venv/lib/python3.8/site-packages (4.0.0) --> This does not have the API.
/home/harsha/.local/lib/python3.10/site-packages (5.0.1) --> This has the API.
I am trying to upgrade python and see if it works.