[BUG] pulling from ssh

Vadim Lebedev vadim at mbdsys.com
Mon Jul 11 13:09:50 CDT 2005


Andrew Thompson wrote:

> Vadim Lebedev wrote:
>
>> It seems to be mercurial installation problem....
>> see what happens when i do:
>>
>> ssh localhost ~/bin/hg -R eXosip.hg status
>> Traceback (most recent call last):
>>   File "/home/vadim/bin/hg", line 11, in ?
>>     from mercurial import commands
>> ImportError: No module named mercurial
>>
>> Any idea how to fix it?
>
>
> It looks like you did a local install. You should have a ~/lib/python 
> directory with a mercurial/ directory inside of it. You need to get 
> the ~/lib/python directory added to PYTHONPATH. How exactly to do that 
> will depend on your shell/distribution.
>
Andrew, thanks,
I've got PYTHONPATH in my .bash_profile...  I moved it into the .bashrc 
and it fixed the
problem...

We ought to add this to a Faq or Wiki...




More information about the Mercurial mailing list