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.2k Golang : Convert(cast) int64 to string
+5.1k Golang : Calculate half life decay example
+12.3k Elastic Search : Return all records (higher than default 10)
+5.3k How to check with curl if my website or the asset is gzipped ?
+5.6k Unix/Linux/MacOSx : Get local IP address
+13.7k Golang : convert(cast) string to float value
+7.9k Golang : Handle Palindrome string with case sensitivity and unicode
+10.8k Golang : Sieve of Eratosthenes algorithm
+10.5k Golang : Allow Cross-Origin Resource Sharing request
+14.2k Golang : How to convert a number to words
+4.9k Golang : Get a list of crosses(instruments) available to trade from Oanda account
+15.9k Golang : Generate universally unique identifier(UUID) example