Ask Your Question

Biel Cardona's profile - activity

2018-12-11 14:07:34 +0100 received badge  Good Answer (source)
2018-09-27 11:07:14 +0100 commented question Problems installing Sage 8.3 on OSX

Same here... Image data corrupted. Quite annoying

2018-07-10 01:58:32 +0100 received badge  Nice Answer (source)
2018-07-09 18:51:31 +0100 received badge  Teacher (source)
2018-07-09 16:42:42 +0100 answered a question RecursionError when installing SageMath 8.2

As some other answers pointed out, the problem is that the first time that sage is called, the script is executed. Since in that file, the shebang line reads /usr/bin/env python, the system calls the default python interpreter. The simplest solution is to have python 2.7 installed and change that line to /usr/bin/env python2.7 or directly the path of a python 2.7 interpreter.