For some reason I find it highly improbable that I’m the only one to ever experience this breakage with the Bazaar VCS:
$ bzr
Traceback (most recent call last):
File "/opt/local/bin/bzr", line 76, in ?
import bzrlib.breakin
ImportError: No module named breakin
I installed it from MacPorts a long time ago and ran into this problem. I decided to upgrade it tonight (via MacPorts) and give it another try, but was met with the same error after the upgrade.
Update: See related mailing list posts for the solution.


First off, ItWorksForMeâ„¢.
Secondly, does
/opt/local/lib/python2.4/site-packages/bzrlib/breakin.pyexist on your system?Indeed it does…
-rw-r–r– 2 root admin 1526 Aug 28 12:50 /opt/local/lib/python2.4/site-packages/bzrlib/breakin.py
Is the
pythonexecutable in your path the right one to be looking in there?Yes, the python executable is the expected one and it’s looking in the right place for the lib. I’m going to ask on the bzr mailing list.
Updated above: The solution was noted on the bazaar mailing list.
In short, I had 2 versions of bzr installed. I had to remove the one under /opt/local/Library/Frameworks/… so Python was able to find the correct lib.