Bug#866508: sagemath: sage fail at starting with: ImportError: No module named 'sage'
Tobias Hansen
thansen at debian.org
Wed Jun 6 10:36:29 BST 2018
Just for the record, here [1] someone reported a similar problem. It was caused by a non-standard path (from an anaconda installation) prepended to $PATH. It was fixed by moving that path to the end end of $PATH.
Best,
Tobias
[1] https://groups.google.com/forum/#!topic/sage-support/C2jU44eQnK4/discussion
On Thu, 29 Jun 2017 19:08:18 +0200 =?utf-8?b?R2lsbGVzIENyw6h2ZWPFk3Vy?= <gilles.crevecoeur at gmail.com> wrote:
> Package: sagemath
> Version: 7.6-2
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
>
> When I try to start sage it show this message :
> ┌────────────────────────────────────────────────────────────────────┐
> │ SageMath version 7.6, Release Date: 2017-03-25 │
> │ Type "notebook()" for the browser-based notebook interface. │
> │ Type "help()" for help. │
> └────────────────────────────────────────────────────────────────────┘
> Traceback (most recent call last):
> File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
> from sage.repl.interpreter import SageTerminalApp
> ImportError: No module named 'sage'
>
> I don't know how to fix this. Notice that similar message appears
> when i try "sage --notebook".
>
> Cheers.
>
More information about the debian-science-maintainers
mailing list