Bug#902545: sagemath: sage 8.2-4 fails to start with error /usr/bin/env: ‘sage-python23’: No such file or directory

Gilles Crèvecœur gilles.crevecoeur at gmail.com
Fri Jun 29 00:11:35 BST 2018


Hi,

I have looked for a get around for this bug.
It seems due to some files in 
    /usr/share/sagemath/bin
The command:
     grep sage-python23 /usr/share/sagemath/bin/*
yields:
/usr/share/sagemath/bin/sage-eval:#!/usr/bin/env sage-python23
/usr/share/sagemath/bin/sage-fixdoctests:#!/usr/bin/env sage-python23
/usr/share/sagemath/bin/sage-ipython:#!/usr/bin/env sage-python23
/usr/share/sagemath/bin/sage-list-packages:#!/usr/bin/env sage-python23
/usr/share/sagemath/bin/sage-preparse:#!/usr/bin/env sage-python23
/usr/share/sagemath/bin/sage-run-cython:#!/usr/bin/env sage-python23
/usr/share/sagemath/bin/sage-runtests:#!/usr/bin/env sage-python23
/usr/share/sagemath/bin/sage-startuptime.py:#!/usr/bin/env sage-python23

For the moment, I suggest to symlink
the file: 
    sage-python23 to sage-python
in the directory /usr/share/sagemath/bin with commands:
    cd /usr/share/sagemath/bin && ln -s sage-python sage-python23

It seems to work for me.

Cheers.
--
Gilles Crèvecœur



More information about the debian-science-maintainers mailing list