Golang : missing Mercurial command



Tags : golang mercurial hg

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.

Affiliate :

Hire Golang Developers


  See also : Golang : missing Git command



Tags : golang mercurial hg

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