sagemath problem

Timothy Murphy gayleard at
Tue Feb 2 23:49:20 UTC 2016

vendor at wrote:

> On Mon, 1 Feb 2016, Timothy Murphy wrote:
>> Yesterday I dnf-installed sagemath on my Fedora-23/KDE laptop.
>> The brought over 200 packages and about 550MB with it.
>> Unfortunately when I run it I get the following error:
>> ----------------------
>> [tim at william ~]$ sage
>> ┌────────────────────────────────────────────────────────────────────┐
>> │ Sage Version 6.5, Release Date: 2015-02-17                         │
>> │ Type "notebook()" for the browser-based notebook interface.        │
>> │ Type "help()" for help.                                            │
>> └────────────────────────────────────────────────────────────────────┘
>> Traceback (most recent call last):
>>  File "/usr/lib64/sagemath/local/bin/sage-ipython", line 6, in <module>
>>    from sage.repl.interpreter import SageTerminalApp
>> ImportError: No module named sage.repl.interpreter
>> ----------------------

> I just installed it on my F23 virtual machine (755 MByte download, 579
> packages!!).  I don't know anything about the program, but when I typed
> "sage" I got the Sage version screen you got, and then the prompt "sage:"
> Just for kicks, I typed in "1+2" and it popped back "3."

Thanks to you and all who pointed out that sagemath works for them.
This encouraged me to look more carefully into the problem,
and I found that I had installed "enthought canopy" a year or so ago,
and this installation had appended lines to my .bashrc
affecting the operation of Ipython.

On removing these lines sagemath worked fine.

Timothy Murphy  
gayleard /at/
School of Mathematics, Trinity College, Dublin

More information about the users mailing list