Stupid problem installing Mercurial Eclipse
Patrick Mézard
pmezard at gmail.com
Thu Dec 27 17:43:01 UTC 2007
J. B. Rainsberger a écrit :
> Everyone:
>
> First, I hope it's all right to post this question here. Second, I
> really did search the web for over an hour to find an answer, but
> couldn't.
>
> I just installed Mercurial Eclipse on Eclipse 3.3.1.1 build
> M20071023-1652. Whenever I try to execute any Mercurial command, I get
>
> ExecuteCommand: /usr/local/bin/hg view
> workdir: /Users/jbrains/Documents/Workspaces/dss/Customers
> Traceback (most recent call last):
> File "/usr/local/bin/hg", line 11, in <module>
> from mercurial import demandimport; demandimport.enable()
> ImportError: No module named mercurial
>
> I know this is either a path problem or a PYTHONPATH problem, but
> everything works fine from the command line and I don't know where
> next to look for information on the problem nor how to fix it. If you
> need to boot me to an Eclipse mailing list, that's cool, but I hope
> someone here has gone through the same thing and can advise me.
Can you access your shell environment variables from Eclipse ? Maybe starting eclipse from a shell would help narrowing the problem.
More information about the Mercurial
mailing list