Hello Avinash, the way to fix this issue is to remove the percent and the numbers after it, so your ip line should just be:
ip = '[fe80:0000:0000:0000:7269:79ff:feb9:0f16]'
This is because once you connect to your Moku:Go via USBC for the first time, this port is already known so you do not need to specify it and many version of python (and LabVIEW for that matter) have some strange typecasing for when the % is used and treats it as modulus. Please let me know if you encounter any other problems!