Golang : missing Mercurial command
Problem :
You encounter this funky error message when trying go get
some package.
For example :
go: missing Mercurial command. See http://golang.org/s/gogetcmd
package bitbucket.org/kardianos/osext: exec: "hg": executable file not found in $PATH
Solution :
Your local machine does not have Mercurial install. Download and install mercurial from http://mercurial.selenic.com/wiki/Download.
After installing mercurial, rerun the go get
command again.
See also : Golang : missing Git command
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
+5.8k Golang : ROT32768 (rotate by 0x80) UTF-8 strings example
+18.7k Golang : Set, Get and List environment variables
+10.5k Golang : cannot assign type int to value (type uint8) in range error
+4.9k Which content-type(MIME type) to use for JSON data
+12.5k Elastic Search : Return all records (higher than default 10)
+5.9k Unix/Linux : How to test user agents blocked successfully ?
+4.8k Golang : How to pass data between controllers with JSON Web Token
+15k Golang : Basic authentication with .htpasswd file
+12.2k Golang : convert(cast) string to integer value
+5.5k Gogland : Datasource explorer
+7.4k Golang : Fixing Gorilla mux http.FileServer() 404 problem
+23.1k Golang : Test file read write permission example