Error while Istio Building from code

Hi I am experiencing this error the go version correct but still, it is not able to go ahead.

Looking at the code, it appears the script cannot find your copy of go with the command not found which causes the logic to check the version to fail and parse the output. I’m not sure why the script can’t find go giving you just ran it from the command line unless sudo is affecting things (I don’t use sudo on my Mac).

Thanks @ericvn I removed go installation and binaries completely and started with new go installation.
It is working fine now.