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
+9.3k Golang : How to extract video or image files from html source code
+11.9k Golang : md5 hash of a string
+6.3k Golang : Calculate diameter, circumference, area, sphere surface and volume
+27.2k PHP : Convert(cast) string to bigInt
+11.4k CodeIgniter : Import Linkedin data
+9.7k Golang : Sort and reverse sort a slice of integers
+12.9k Golang : How to get a user home directory path?
+14k Golang : Get uploaded file name or access uploaded files
+7.6k Javascript : How to check a browser's Do Not Track status?
+6.8k Golang : How to call function inside template with template.FuncMap
+15.7k Golang : Read a file line by line
+19.6k Golang : Convert(cast) bytes.Buffer or bytes.NewBuffer type to io.Reader