Getting "*** failed to import extension" errors after upgrading to 1.5.1

Benoit Boissinot bboissin at gmail.com
Thu Apr 29 12:25:58 CDT 2010


On Thu, Apr 29, 2010 at 11:37 AM, Pavel Shevaev <pacha.shevaev at gmail.com> wrote:

> Looks like it can't find the directory with built-in extensions for
> some reason. it's strange because it's definitely in PYTHONPATH: I
> added "print sys.path" into /usr/local/bin/hg and now when running hg
> it shows something like this:
>
> ['/usr/local/bin', ... '/usr/local/lib/python2.6/dist-packages']
>
> ... and /usr/local/lib/python2.6/dist-packages/hgext does contain the
> required extension(fetch in my case)
>
> What am I doing wrong?

did you try to import hgext.purge from a python prompt?

Benoit


More information about the Mercurial mailing list