I built a cgo library and used python (with ctypes package) to call it. The code was compiled into both 32 bit and 64 bit versions and these libraries were called by 32 bit and