[issue1826] Not finding standard Python module when using forest extension

Pete Brunet mercurial-bugs at selenic.com
Mon Sep 7 21:41:56 UTC 2009


New submission from Pete Brunet <pete at a11ysoft.com>:

This is on Windows XP.  I installed via Mercurial-1.3.1.exe.  It resides in
C:\Program Files\Mercurial.  My system has Python 2.6 and C:\Python26 is in
the PATH.  There is a PYTHONPATH set to C:\Python26\Lib  I cloned the forest
extension and added it to the ini file:

[extensions]
hgext.win32text =
forest=c:\Program Files\Mercurial\hgforest\forest.py

When I run
  cd \OpenJDK
  hg fclone http://hg.openjdk.java.net/jdk7/jdk7/ jdk7
I get:
  *** failed to import extension forest from
  c:\Program Files\Mercurial\hgforest\forest.py:
  No module named ConfigParser
  hg: unknown command 'fclone'
  Mercurial Distributed SCM

If I start python and type
  import ConfigParser
at the prompt it imports without a problem.

----------
messages: 10485
nosy: ptbrunet
priority: urgent
status: unread
title: Not finding standard Python module when using forest extension

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1826>
____________________________________________________



More information about the Mercurial-devel mailing list