Ask Your Question

Kirill23's profile - activity

2021-03-18 23:54:59 +0100 received badge  Popular Question (source)
2019-06-30 17:26:51 +0100 received badge  Student (source)
2016-09-25 22:09:38 +0100 commented answer ImportError during installation on MacOS 10.11.6

Uninstalling Anaconda helped, thanks!

2016-09-25 21:46:01 +0100 received badge  Scholar (source)
2016-09-25 03:12:33 +0100 asked a question ImportError during installation on MacOS 10.11.6

I'm trying to install Sage 7.3 for MacOS 10.11.6, and I get the following error:

 RecursionError: maximum recursion depth exceeded during compilation
Traceback (most recent call last):
  File "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", line 7, in <module>
    import argparse
  File "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python/argparse.py", line 85, in <module>
    import collections as _collections
  File "/Applications/SageMath-7.3.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.3.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString
  Referenced from: /Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
  Expected in: flat namespace
 in /Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so

Any ideas how to resolve it? I've seen anaconda might cause some issues with installation, is it the case here?