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.6k Golang : Function wrapper that takes arguments and return result example
+10.3k Golang : How to unmarshal JSON inner/nested value and assign to specific struct?
+7.4k Golang : Command line ticker to show work in progress
+7.5k Golang : Trim everything onward after a word
+6.9k Ubuntu : connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream
+22.4k Golang : Strings to lowercase and uppercase example
+14k Golang : Get uploaded file name or access uploaded files
+14.5k Golang : Adding XML attributes to xml data or use attribute to differentiate a common tag name
+6.4k Golang : Derive cryptographic key from passwords with Argon2
+5.1k Golang : How to deal with configuration data?
+8.4k Golang : How to join strings?
+7k Golang : Example of custom handler for Gorilla's Path usage.