Ask Your Question

professordes's profile - activity

2017-01-17 02:35:13 +0200 received badge  Teacher (source)
2017-01-17 02:35:13 +0200 received badge  Necromancer (source)
2016-12-23 22:35:33 +0200 received badge  Popular Question (source)
2016-05-08 14:24:59 +0200 commented question osx installation

Anaconda is causing the errors - removing all traces of that cause the errors to go away....

2016-05-07 22:12:43 +0200 commented question osx installation

The errors are appearing when running sage itself for the first time either via the app version or via the terminal with a non-app install (I'm not attempting to make anything in the sage tree).

The Macbook in question has both Homebrew and Anaconda installed on it.

2016-04-04 15:39:18 +0200 commented question osx installation

I have the same install error on OSX 10.11 with both 7.1 and the latest 7.2 beta. The relocate-once.py script was missing brackets in the initial print, but fixing this then gives this "RuntimeError: maximum recursion depth exceeded during compilation" error. Same result running the script by hand.

2016-03-31 16:26:33 +0200 received badge  Student (source)
2016-03-31 09:44:06 +0200 asked a question Is a binary install of 7.1 on OSX 10.11 possible?

A binary install of sage 7.1 fails on OSX 10.11 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$
2016-03-31 09:44:06 +0200 asked a question Is it possible to install sage 7.1 on OSX 10.11?

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$