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@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 take it this means some python package is missing, but I can't work out which one. Any suggestions gratefully welcomed.
On fedora 22, I get: ┌────────────────────────────────────────────────────────────────────┐ │ Sage Version 6.5, Release Date: 2015-02-17 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ /usr/lib/python2.7/site-packages/IPython/utils/path.py:302: UserWarning: Moving ~/.config/ipython to ~/.ipython warnings.warn('Moving {0} to {1}'.format(cu(xdg_ipdir), cu(ipdir)))
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Monday, February 01, 2016 at 10:53 PM From: "Timothy Murphy" gayleard@eircom.net To: users@lists.fedoraproject.org Subject: sagemath problem
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@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 take it this means some python package is missing, but I can't work out which one. Any suggestions gratefully welcomed.
-- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On Mon, 01 Feb 2016 21:53:28 +0000, Timothy Murphy gayleard@eircom.net 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@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 take it this means some python package is missing, but I can't work out which one. Any suggestions gratefully welcomed.
I just tried "sudo dnf install sagemath*" on a fully updated Fedora 23 desktop running KDE (but Gnome is installed, too). Seems to work for me:
[~] 6) sage ┌────────────────────────────────────────────────────────────────────┐ │ Sage Version 6.5, Release Date: 2015-02-17 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ Setting permissions of DOT_SAGE directory so only you can read and write it. sage: exit Exiting Sage (CPU time 0m0.01s, Wall time 0m4.07s).
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@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 take it this means some python package is missing, but I can't work out which one. Any suggestions gratefully welcomed.
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."
Not help, maybe, but a datapoint. A dnf installation seems to work here.
billo
vendor@billoblog.com 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@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.