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
+12.4k Golang : Drop cookie to visitor's browser and http.SetCookie() example
+18.3k Golang : Generate thumbnails from images
+45.6k Golang : Read tab delimited file with encoding/csv package
+9.3k Golang : How to generate Code 39 barcode?
+5.3k Python : Print unicode escape characters and string
+12.1k Golang : Extract part of string with regular expression
+11.9k Golang : List running EC2 instances and descriptions
+5.5k Unix/Linux : How to test user agents blocked successfully ?
+8.1k Your page has meta tags in the body instead of the head
+20.4k PHP : Convert(cast) int to double/float
+23.4k Golang : Fix type interface{} has no field or no methods and type assertions example
+15.2k Golang : rune literal not terminated error