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.1k Golang : Missing Subversion command
+5.6k Unix/Linux : How to get own IP address ?
+6.9k Golang : Handle Palindrome string with case sensitivity and unicode
+20.1k Golang : Upload big file (larger than 100MB) to AWS S3 with multipart upload
+6.2k Golang : Use modern ciphers only in secure connection
+5.2k Golang : Build new URL for named or registered route with Gorilla webtoolkit example
+8.2k Golang : Read file with ioutil
+34.2k Golang : Validate IP address
+6.9k Golang : How to feed or take banana with Gorilla Web Toolkit Session package
+8.1k Golang : Timeout example
+18.4k Golang : How to get time from unix nano example
+3.8k Golang : Experimental Jawi programming language