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
+13.9k Golang : Fix image: unknown format error
+13.9k Golang : Check if a file exist or not
+14.4k Golang : Get URI segments by number and assign as variable example
+17.3k Golang : [json: cannot unmarshal object into Go value of type]
+6.4k Elasticsearch : Shutdown a local node
+7.8k Golang : Handle Palindrome string with case sensitivity and unicode
+29.1k Golang : Save map/struct to JSON or XML file
+7.5k Golang : How to execute code at certain day, hour and minute?
+6.2k Golang : Selection sort example
+5.9k Golang : Measure execution time for a function
+10.4k Golang : How to delete element(data) from map ?