Bazaar module error on OS X
Brad Fults
bfults+bzr at gmail.com
Wed Sep 12 05:42:57 BST 2007
Hi,
I've installed bazaar via the MacPorts port devel/bazaar-ng on OS X
10.4.10 and have run into a strange error:
$ bzr
Traceback (most recent call last):
File "/opt/local/bin/bzr", line 76, in ?
import bzrlib.breakin
ImportError: No module named breakin
I'm running Python 2.4.4 with the following information:
$ python
Python 2.4.4 (#1, Sep 10 2007, 21:35:05)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import bzrlib
>>> import bzrlib.breakin
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named breakin
>>> import sys
>>> print sys.path
['', '/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python24.zip',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat-darwin',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat-mac',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat-mac/lib-scriptpackages',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/lib-tk',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/lib-dynload',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages',
'/opt/local/lib/python2.4/site-packages',
'/opt/local/lib/python2.4/site-packages/PIL']
When checking for the bzrlib.breakin module on the file system I see
the following:
$ ls -l /opt/local/lib/python2.4/site-packages/bzrlib/breakin.py
-rw-r--r-- 2 root admin 1526 Aug 28 12:50
/opt/local/lib/python2.4/site-packages/bzrlib/breakin.py
$ ls -l /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/bzrlib/breakin.py
ls: /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/bzrlib/breakin.py:
No such file or directory
I checked up to this point with a friend who has bazaar working fine
from the port, but after this was unable to identify the difference
that makes mine break.
Any insight into this would be greatly appreciated.
Thanks.
--
Brad Fults
More information about the bazaar
mailing list