[Tips] bzr Import error
# bazzar error on Mac Marvericks:
192:~ piaoger$ bzr
bzr: ERROR: Couldn't import bzrlib and dependencies.
Please check the directory containing bzrlib is on your PYTHONPATH.
Traceback (most recent call last):
File "/usr/local/bin/bzr", line 74, in <module>
import bzrlib
ImportError: No module named bzrlib
# Solution
Python2.6 should be used for bazzar while Python27 is the default edition on Mac Marvericks.
$ sudo nano /usr/local/bin/bzr
change from:
#!/usr/bin/python
to:
#!/usr/bin/python2.6