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

Benoit Boissinot bboissin at gmail.com
Thu Apr 29 13:03:13 CDT 2010


On Thu, Apr 29, 2010 at 09:55:10PM +0400, Pavel Shevaev wrote:
> > did you try to import hgext.purge from a python prompt?
> 
> Hm...it gives the following:
> 
> Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
> [GCC 4.4.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import hgext.purge
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named purge
> 
> At the same time:
> 
> >>> import sys
> >>> print sys.path
> ['', ... '/usr/local/lib/python2.6/dist-packages']
> 
> and:
> 
> >>> import hgext
> 
> ...works just fine and there is
> /usr/local/lib/python2.6/dist-packages/hgext/purge.py

it's probably not the same hgext that is found

Benoit

-- 
:wq


More information about the Mercurial mailing list