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
+8.6k Golang : interface - when and where to use examples
+15k Golang : Find out mime type from bytes in buffer
+15.8k Golang : Find file size(disk usage) with filepath.Walk
+8.3k Golang : Scramble and unscramble text message by randomly replacing words
+4.4k Golang : Issue HTTP commands to server and port example
+4.8k Linux : Disable and enable IPv4 forwarding
+17.4k Golang : Example for RSA package functions
+11.2k Golang : Add ASCII art to command line application launching process
+4.9k Golang : Launching your executable inside a console under Linux
+6.9k Golang : Regular Expression find string example
+9.9k Golang : Web routing/multiplex example
+5.2k Linux/Unix : Commands that you need to be careful about