Installation problems
Wujek Srujek
wujek.srujek at googlemail.com
Fri Apr 2 18:06:12 CDT 2010
Hi. I downloaded version 1.5.1 and went for the system wide install (Ubuntu
9.04). It installed the python files in
/usr/local/lib/python2.6/site-packages so it didn't work by default as this
is not included in the default PYTHONPATH. I updated the env to point to
site-packages, and now I get another error:
wuj at studio:~$ hg
Traceback (most recent call last):
File "/usr/local/bin/hg", line 27, in <module>
mercurial.dispatch.run()
File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
16, in run
File "/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py", line
21, in dispatch
File "/usr/local/lib/python2.6/site-packages/mercurial/ui.py", line 38, in
__init__
File "/usr/local/lib/python2.6/site-packages/mercurial/util.py", line
1200, in rcpath
File "/usr/local/lib/python2.6/site-packages/mercurial/util.py", line
1174, in os_rcpath
File "/usr/local/lib/python2.6/site-packages/mercurial/posix.py", line 42,
in system_rcpath
File "/usr/local/lib/python2.6/site-packages/mercurial/posix.py", line 31,
in rcfiles
File "/usr/local/lib/python2.6/site-packages/mercurial/demandimport.py",
line 75, in __getattribute__
File "/usr/local/lib/python2.6/site-packages/mercurial/demandimport.py",
line 47, in _load
ImportError: No module named osutil
When I go to /usr/local/lib/python2.6/site-packages/mercurial I can see a
file 'osutil.so', but no osutil.py. I am not a python guru so I don't know
if this is the reason why this cannot be found, nor do I know how to fix it.
Can you help? I need to have a system wide install.
Regards,
Wujek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100403/34ffeee2/attachment.htm>
More information about the Mercurial
mailing list