Ask Your Question
1

Is it possible to install sage 7.1 on OSX 10.11?

asked 2016-03-30 21:38:18 +0100

professordes gravatar image

updated 2017-01-08 12:23:39 +0100

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$
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2016-04-04 17:51:06 +0100

Volker Braun gravatar image

Fixed in the 7.2.beta0 OSX binaries

edit flag offensive delete link more

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: 2016-03-30 21:38:18 +0100

Seen: 479 times

Last updated: Apr 04 '16