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
+6k Web : How to see your website from different countries?
+5.7k Golang : Reverse by word
+9k Golang : Text file editor (accept input from screen and save to file)
+7.8k Golang : automatically figure out array length(size) with three dots
+17.2k Golang : Check whether a network interface is up on your machine
+4.5k How to check with curl if my website or the asset is gzipped ?
+8.5k Golang : Validate IPv6 example
+14.9k Golang : Get file permission
+19.1k Golang : Convert date string to variants of time.Time type examples
+13.5k Golang : Missing Bazaar command
+9.3k Golang : How to delete element(data) from map ?
+10.3k SSL : The certificate is not trusted because no issuer chain was provided