Failed to initialize build 'vsphere-iso': error initializing builder 'vsphere-iso'

Getting this error when running packer. I am on 1.54

why is this happening?

packer build -var-file=vars.json windows-server-2016.json

Failed to initialize build ‘vsphere-iso’: error initializing builder ‘vsphere-iso’: Incompatible API version with plugin. Plugin version: 4, Ours: 5

This means it is finding a manually-installed copy of the vsphere-iso provider in you local system.

Check the permission of the vsphere-iso binaries and make sure u are keeping in the right path and not anywhere else