Golang : Fix go.exe is not compatible with the version of Windows you're running
Problem: You just installed the default binary download of Golang for Windows and when you attempt to execute go.exe
binary you get this error message:
This version of C:\Go\bin\go.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
What's going on?
Solution:
Be default, the Golang installer binary that gets automatically downloaded is for Windows 64-bit version and the Windows version that you're using is 32-bit. To fix this problem, simply head over to https://golang.org/dl/ and select the 32-bit installer version with windows-386
tags such as go1.7.1.windows-386.msi
instead of go1.7.1.windows-amd64.msi
See also : Uninstall Go from Mac
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+17.2k Golang : Read binary file into memory
+7.4k Golang : Generate Datamatrix barcode
+7.6k Linux/Unix : fatal: the Postfix mail system is already running
+17.2k Golang : Generate thumbnails from images
+22.6k Golang : Upload to S3 with official aws-sdk-go package
+16.8k Golang : Display list of time zones with GMT
+25.4k Golang : dial tcp: too many colons in address
+8.2k Golang : How to control fmt or log print format?
+10.6k Golang : Convert decimal number(integer) to IPv4 address
+28.3k Golang : Get and Set User-Agent examples
+9.5k Golang : How to unmarshal JSON inner/nested value and assign to specific struct?
+15.6k Golang : Get input from keyboard