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
+12.9k Golang : Google Drive API upload and rename example
+10.7k Golang : Detect user location with HTML5 geo-location
+8.4k Golang : Quadratic example
+5.4k CodeIgniter : form input set_value cause " to become & quot
+12.8k Golang : Simple word wrap or line breaking example
+4.6k How to check with curl if my website or the asset is gzipped ?
+3.2k Javascript : Empty an array example
+6.2k Golang : Gorrila mux.Vars() function example
+7.5k Golang : Another camera capture GUI application with GTK and OpenCV
+10.7k Golang : md5 hash of a string
+5.6k Elasticsearch : Shutdown a local node
+12.1k Golang : Convert(cast) int to int64