The path is not valid in hg executable

Asked By 0 points N/A Posted on -

I used the Mercurial software for my project. But I am having problem with the hg executable.

I am certain that I installed the mercurial correctly on my Mac OS X Snow Leopard PC.

The path for the hg executable is in “/usr/local/bin/hg” according to the error message, but the path seems to be not valid.

How can I correct this issue? 

Select Path

"/usr/local/bin/hg" doesn't appear to be a valid hg executable


Answered By 10 points N/A #121218

The path is not valid in hg executable


Hi drew,

Can you try to search and find the hg executable file using your browser option? You need to make sure that the given hg executable file is named hg and that its version command should quit without errors. It should also return to a non empty output. You may need to check if you have followed the steps here when you installed mercurial

You also must make sure that the environment variables are set up to be seen by the shell and pycharm. They must be define and set on the environment.plist file. Details can be found here


Login/Register to Answer

Related Questions