[issue2335] installer error: hg 1.6.2 not finding hgext
bugs at mercurial.selenic.com
Tue Aug 17 17:28:06 CDT 2010
New submission from Tod Olson <tod at uchicago.edu>:
Every time I invoke hg 1.6.2 on my Mac (10.6.4), hg spits out the following
*** failed to import extension hgk from
packages/hgext/hgk.py: [Errno 2] No such file or directory
hg 1.6.2 was installed from the Mac OS X installer downloaded from
selenic.com, which says:
This is an OS X 10.6 version of Mercurial that depends on the
default Python 2.6 installation
There is no Python 2.4 on this machine. The default Python is 2.6.1, yet hg
1.6.2 is looking for one of its own packages under a Python 2.4 location.
Nothing in my environment sets PYTHONPATH; in fact, env | grep -i python is
I do notice that /Library/Frameworks/Python.framework/Versions/Current/bin
was in my $PATH, but this entry was an ancient artifact and that framework
dir doesn't exist. (Nor does that PATH entry refer specifically to Python
2.4.) Removing this directory from PATH does not fix the problem.
Any ideas why hg is looking for hgext in the wrong place and how to fix?
title: installer error: hg 1.6.2 not finding hgext
Mercurial issue tracker <bugs at mercurial.selenic.com>
More information about the Mercurial-devel