Ask Your Question
1

Is it possible to install sage 7.1 on OSX 10.11?

asked 8 years ago

professordes gravatar image

updated 8 years ago

FrédéricC gravatar image

I can't get the binary app (7.1) to install on OSX 10.11 -- the same error appears with 7.2 beta0.

The install fails at the setting up the paths stage when the app is clicked for the first time.

The error is shown below. Is this fixable? Switching SIP off has no effect.

Dess-MacBook:~ des$ '/Applications/SageMath-7.1.app/Contents/Resources/sage/sage' --notebook
  File "/Applications/SageMath-7.1.app/Contents/Resources/sage/relocate-once.py", line 12
    print "relocate-once.py -d <destination>"
                                            ^
SyntaxError: Missing parentheses in call to 'print'
Traceback (most recent call last):
  File "/Applications/SageMath-7.1.app/Contents/Resources/sage/src/bin/sage-notebook", line 7, in <module>
    import argparse
  File "/Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python/argparse.py", line 85, in <module>
    import collections as _collections
  File "/Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python/collections.py", line 9, in <module>
    from operator import itemgetter as _itemgetter, eq as _eq
ImportError: dlopen(/Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString
  Referenced from: /Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
  Expected in: flat namespace
 in /Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
Dess-MacBook:~ des$
Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

Volker Braun gravatar image

Fixed in the 7.2.beta0 OSX binaries

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 8 years ago

Seen: 500 times

Last updated: Apr 04 '16