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
+5.9k Golang : Launching your executable inside a console under Linux
+32.5k Golang : Copy directory - including sub-directories and files
+5.2k Python : Create Whois client or function example
+6.9k Golang : Decode XML data from RSS feed
+5.8k Golang : Error handling methods
+6.5k Golang : Handling image beyond OpenCV video capture boundary
+5.3k Python : Convert(cast) string to bytes example
+21.5k Golang : How to read float value from standard input ?
+8.1k Golang : Handle Palindrome string with case sensitivity and unicode
+12k Golang : Convert a rune to unicode style string \u
+13.9k Golang : Convert spaces to tabs and back to spaces example