The terminal comes up with the error message below. After that, trying to
start a notebook or a Sage terminal just returns error messages complaining
about change of folder (I did not change anything).
Any help?
/Applications/SageMath-7.4.app/Contents/Resources/sage/sage'
--notebook=sagenb
Fatal Python error: Py_Initialize: unable to load the file system codec
File
"/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/python/encodings/__init__.py",
line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Current thread 0x00007fff70b86000 (most recent call first):
/Applications/SageMath-7.4.app/Contents/Resources/sage/sage: line 130:
8877 Abort trap: 6 "$SAGE_ROOT/relocate-once.py"
Traceback (most recent call last):
File
"/Applications/SageMath-7.4.app/Contents/Resources/sage/src/bin/sage-notebook",
line 7, in <module>
import argparse
File
"/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/python/argparse.py",
line 85, in <module>
import collections as _collections
File
"/Applications/SageMath-7.4.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.4.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so,
2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString
Referenced from:
/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
Expected in: flat namespace
in
/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.