Missing module
Alpár Jüttner
alpar at cs.elte.hu
Fri Jun 27 08:13:53 CDT 2008
> >
> >> What is result of "which hg"?
> >
> > /usr/local/bin/hg
>
> In your cloned hg repo:
> - Do you get same result of "which hg"?
Of course, yes. The current dir (.) is not in the $PATH.
But the solution seems to be close to it, because this works alright:
rm -r *
hg update
> - How about "/usr/local/bin/hg pull -u"?
It makes no difference.
> Anyway, I guess python has your current directory in sys.path by any reason
> and it causes the issue by loading "mercurial" package in current
> directory instead of
> installed one.
Yes, it is there, indeed. But...
> - Check "echo $PYTHONPATH" is empty
$ echo $PYTHONPATH
/home/alpar/python:/usr/local/lib/python/site-packages:/home/alpar/python:/usr/local/lib/python/site-packages:/home/alpar/python:/usr/local/lib/python/site-packages:
so I don't understand why.
> - Check your PATH does not contains ".".
It does not contain it.
Best regards,
Alpar
More information about the Mercurial
mailing list