I have just installed GAMS Python API on my macOS. However, whenever I run "import gamstransfer as gt" vscode throws this error:
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_gams2numpy.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_gams2numpy.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
How to fix this error?