Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.