Bazaar module error on OS X

Robert Collins robertc at robertcollins.net
Wed Sep 12 06:19:08 BST 2007


On Tue, 2007-09-11 at 22:17 -0700, Brad Fults wrote:
> On 9/11/07, Robert Collins <robertc at robertcollins.net> wrote:
> > try this:
> > python
> > >>> import bzrlib
> > >>> bzrlib.__path__
> >
> > I'm betting that will be different to what you expect.
> 
> Indeed you were correct. Mine says:
> 
>     >>> bzrlib.__path__
>     ['/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/bzrlib']
> 
> 
> While his says:
> 
>     >>> bzrlib.__path__
>     ['/opt/local/lib/python2.4/site-packages/bzrlib']
> 
> 
> Now how would I change that path?

Well the path is set by python indicating where the module was found.

-> you have two copies of bzrlib installed, and the one that is first on
the path is from an older install of bzr.

You could remove the older one, or reinstall the newer one using
whatever options the older one was installed with.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070912/5f0ed98d/attachment.pgp 


More information about the bazaar mailing list