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
+16.2k Golang : How to extract links from web page ?
+9.4k Golang : Changing a RGBA image number of channels with OpenCV
+9.5k Golang : Validate IPv6 example
+20.1k Golang : How to get struct tag and use field name to retrieve data?
+7.8k Golang : Load DSA public key from file example
+5.3k Golang : Pad file extension automagically
+26.3k Golang : Convert(cast) string to uint8 type and back to string
+14.8k Golang : Submit web forms without browser by http.PostForm example
+5.7k Unix/Linux/MacOSx : Get local IP address
+25.7k Golang : Daemonizing a simple web server process example
+7.5k Golang : Set horizontal, vertical scroll bars policies and disable interaction on Qt image
+6.9k Golang : How to setup a disk space used monitoring service with Telegram bot