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
+4.2k SSL : How to check if current certificate is sha1 or sha2 from command line
+4.3k Golang : Identifying Golang HTTP client request
+9.3k Golang : Convert seconds to minutes and remainder seconds
+5.5k Golang : Get absolute path to binary for os.Exec function with exec.LookPath
+7.3k Golang : Get the IPv4 and IPv6 addresses for a specific network interface
+2.6k Golang : Set horizontal, vertical scroll bars policies and disable interaction on Qt image
+5.4k Golang : How to filter a map's elements for faster lookup
+2.4k Fontello : How to load and use fonts?
+8.4k Golang : Get query string value on a POST request
+6.1k Golang : Send email with attachment(RFC2822) using Gmail API example
+5k Golang : What is the default port number for connecting to MySQL/MariaDB database ?
+4.4k Golang : Validate IPv6 example