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
+14k Golang : Gin framework accept query string by post request example
+4.8k Javascript : Detect when console is activated and do something about it
+30.8k Golang : Remove characters from string example
+9.1k Golang : Go as a script or running go with shebang/hashbang style
+7.5k Golang : How to convert strange string to JSON with json.MarshalIndent
+29.6k Golang : Login(Authenticate) with Facebook example
+18.9k Unmarshal/Load CSV record into struct in Go
+18.7k Golang : Set, Get and List environment variables
+9.1k Golang : Inject/embed Javascript before sending out to browser example
+12.1k Golang : Determine if time variables have same calendar day
+8.2k Golang : HTTP Server Example
+6.6k Golang : Map within a map example