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
+6.2k Linux/Unix : Commands that you need to be careful about
+9.8k Golang : interface - when and where to use examples
+13.5k Golang : Verify token from Google Authenticator App
+15.2k Golang : package is not in GOROOT during compilation
+8.8k Golang : Heap sort example
+14k Generate salted password with OpenSSL example
+11.1k Golang : Create S3 bucket with official aws-sdk-go package
+17.1k Golang : Covert map/slice/array to JSON or XML format
+9.5k Golang : Create unique title slugs example
+9k Golang : GMail API create and send draft with simple upload attachment example
+5.9k Golang : Denco multiplexer example
+5.4k Golang : Get FX sentiment from website example