bzr: ERROR: No module named mercurial (Win32)

Asked by speedwaystar

On Windows 7:
Python 2.6 is installed and working.
I'm running the standalone version of Bazaar Bazaar 2.2.1 r3 (latest)
I've installed the Mercurial standalone 1.70 (latest)
(Both the above use their own copies of python26.dll rather than the main installation, I believe)

[/cygdrive/c/Program Files/Bazaar/plugins]$ bzr branch lp:bzr-hg hg
Branched 325 revision(s).

[/cygdrive/c/Program Files/Bazaar/plugins]$ bzr branch lp:bzr-git git
bzr: ERROR: No module named mercurial
You may need to install this Python library separately.

[/cygdrive/c/Program Files/Bazaar/plugins]$ bzr version
Bazaar (bzr) 2.2.1
bzr: ERROR: No module named mercurial
You may need to install this Python library separately.

[/cygdrive/c/Program Files/Bazaar/plugins]$ bzr plugins
bzrtools 2.2.0
   Various useful commands for working with bzr.
...

hg 0.2.0dev
   Mercurial support for Bazaar.
...

Halp!

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Windows Installers Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
Last query:
Last reply:
Revision history for this message
Best Martin Pool (mbp) said :
#1

Hi,

I think this is a limitation of the bzr all-in-one windows installer: it can't load Python libraries from the system Python. You should use the Python-based installer.

Revision history for this message
speedwaystar (speedwaystar) said :
#2

Thanks Martin Pool, that solved my question.