I installed Mercurial on my Mac, and it's wonderful. For me it's easier to grasp than Git so I wanted to use it to manage git-repositories. Therefore I installed hg-git with the following instructions:
However, each time I issue a hg command it returns this error message:
Mercurial error *** failed to import extension hggit: No module named hggit
It might be important to note that I'm on a Mac not Gnu/Linux or MS-Windows.
Does any one know how to resolve this?
After installing hg-git with the following command:
easy_install hg-git
Does the following work?
python -c "import hggit"
What does this say for you:
head -n1 `which hg`
The point of the latter command is to verify that the Python hg runs under has hggit installed. In my case it says '#!/usr/bin/python', which is my standard python command.
What does this say:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python -c "import hggit"