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
+36.4k Golang : Validate IP address
+7.6k Golang : Test if an input is an Armstrong number example
+10.1k Golang : Check a web page existence with HEAD request example
+18.7k Golang : Delete duplicate items from a slice/array
+7.4k Golang : How to stop user from directly running an executable file?
+4.8k JQuery : Calling a function inside Jquery(document) block
+11.4k Golang : Handle API query by curl with Gorilla Queries example
+10.5k Golang : Resolve domain name to IP4 and IP6 addresses.
+9.7k Golang : Qt get screen resolution and display on center example
+21.1k Golang : Clean up null characters from input data
+5.5k PHP : Convert CSV to JSON with YQL example