Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ImportError: No module named terminal.prompts on Debian

I am trying to install SageMath 1.8 on a debian 8.10 (Jessie). I have tried both the Debian precompiled binary package from the website: sage-8.1-Debian_GNU_Linux_8-x86_64.tar.bz2, and also from source: sage-8.1.tar.gz

Either way I get the same error when I start it up: ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â SageMath version 8.1, Release Date: 2017-12-07 â â Type "notebook()" for the browser-based notebook interface. â â Type "help()" for help. â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ Traceback (most recent call last): File "/d1/opt/sage/SageMath-8.1/src/bin/sage-ipython", line 7, in <module> from sage.repl.interpreter import SageTerminalApp File "/d1/opt/sage/SageMath-8.1/local/lib/python2.7/site-packages/sage/repl/interpreter.py", line 108, in <module> from sage.repl.prompts import SagePrompts, InterfacePrompts File "/d1/opt/sage/SageMath-8.1/local/lib/python2.7/site-packages/sage/repl/prompts.py", line 16, in <module> from IPython.terminal.prompts import Prompts ImportError: No module named terminal.prompts

I have googled around and I do see the problem has occurred in RedHat Fedora, but the solutions are RedHat-specific. The packages they say to include are not available in Debian. Additionally, they are pulling sage from the RedHat repository. Any help would be most welcome. Thank you in advance.

click to hide/show revision 2
retagged

ImportError: No module named terminal.prompts on Debian

I am trying to install SageMath 1.8 on a debian 8.10 (Jessie). I have tried both the Debian precompiled binary package from the website: sage-8.1-Debian_GNU_Linux_8-x86_64.tar.bz2, and also from source: sage-8.1.tar.gz

Either way I get the same error when I start it up: ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â SageMath version 8.1, Release Date: 2017-12-07 â â Type "notebook()" for the browser-based notebook interface. â â Type "help()" for help. â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ Traceback (most recent call last): File "/d1/opt/sage/SageMath-8.1/src/bin/sage-ipython", line 7, in <module> from sage.repl.interpreter import SageTerminalApp File "/d1/opt/sage/SageMath-8.1/local/lib/python2.7/site-packages/sage/repl/interpreter.py", line 108, in <module> from sage.repl.prompts import SagePrompts, InterfacePrompts File "/d1/opt/sage/SageMath-8.1/local/lib/python2.7/site-packages/sage/repl/prompts.py", line 16, in <module> from IPython.terminal.prompts import Prompts ImportError: No module named terminal.prompts

I have googled around and I do see the problem has occurred in RedHat Fedora, but the solutions are RedHat-specific. The packages they say to include are not available in Debian. Additionally, they are pulling sage from the RedHat repository. Any help would be most welcome. Thank you in advance.