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:
http://hg-git.github.com/
But each time I issue a hg command it returns this error message:
Mercurial error *** failed to import extension hggit: No module named hggit
I'd might be important to note that I'm on a Mac not a Windows PC.
Does any know how to resolve this
Note for ubuntu users who install the "mercurial-git" package to get the hggit module on 12.04 some bright spark randomly renamed the module to just "git" so you need to change your ~/.hgrc to look something like
[extensions] hgext.bookmarks = git =
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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With