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
+10.1k Golang : Function wrapper that takes arguments and return result example
+4.9k Fix Google Analytics Redundant Hostnames problem
+14.7k Golang : How to determine if user agent is a mobile device example
+5.7k Golang : Configure crontab to poll every two minutes 8am to 6pm Monday to Friday
+8.8k Python : Fix SyntaxError: Non-ASCII character in file, but no encoding declared
+18.6k Golang : Example for RSA package functions
+6k Golang : Fix opencv.LoadHaarClassifierCascade The node does not represent a user object error
+18.1k Golang : Qt image viewer example
+30.2k Golang : Get time.Duration in year, month, week or day
+17.2k Golang : Get the IPv4 and IPv6 addresses for a specific network interface
+12.8k Golang : Remove or trim extra comma from CSV
+10k Golang : Sort and reverse sort a slice of integers