Installation problems

Gordon Tyler gordon at doxxx.net
Thu Jun 12 17:16:00 UTC 2014


Some Googling indicates that this problem occurs if you're using the
MacPorts version of Python. I only ever tested with the stock system Python
when building the installer.


On Thu, Jun 12, 2014 at 1:08 PM, Michael Muratet <muratetm at gmail.com> wrote:

> Greetings
>
> I installed the bazaar binary on my PowerBook with OS X 10.7.5 via dmg. I
> tried the test
>
> Michaels-MacBook-Pro:bzr-2.6.0 mmuratet$ bzr version
> Traceback (most recent call last):
>   File "//anaconda/lib/python2.7/site.py", line 548, in <module>
>     main()
>   File "//anaconda/lib/python2.7/site.py", line 530, in main
>     known_paths = addusersitepackages(known_paths)
>   File "//anaconda/lib/python2.7/site.py", line 266, in addusersitepackages
>     user_site = getusersitepackages()
>   File "//anaconda/lib/python2.7/site.py", line 241, in getusersitepackages
>     user_base = getuserbase() # this will also set USER_BASE
>   File "//anaconda/lib/python2.7/site.py", line 231, in getuserbase
>     USER_BASE = get_config_var('userbase')
>   File "//anaconda/lib/python2.7/sysconfig.py", line 516, in get_config_var
>     return get_config_vars().get(name)
>   File "//anaconda/lib/python2.7/sysconfig.py", line 449, in
> get_config_vars
>     import re
>   File "//anaconda/lib/python2.7/re.py", line 105, in <module>
>     import sre_compile
>   File "//anaconda/lib/python2.7/sre_compile.py", line 14, in <module>
>     import sre_parse
>   File "//anaconda/lib/python2.7/sre_parse.py", line 17, in <module>
>     from sre_constants import *
>   File "//anaconda/lib/python2.7/sre_constants.py", line 18, in <module>
>     from _sre import MAXREPEAT
> ImportError: cannot import name MAXREPEAT
>
> and got the resulting error.
>
> I tried to build it from source with python setup.py install and go the
> same error.
>
> Probably a simple fix, anybody know what it is?
>
> Cheers
>
> Mike
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20140612/ef29683b/attachment.html>


More information about the bazaar mailing list