2

I have installed Sagemath 8.1 with

sudo apt-get install sagemath

into Ubuntu 18.04. When I try

$ sage

I get an error message. It seems that Sagemath lunches but something does not allow it from running. Any ideas?

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 "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
    from sage.repl.interpreter import SageTerminalApp
ModuleNotFoundError: No module named 'sage'
N0rbert
  • 99,918
Dimitris
  • 411
  • How did you installed Sagemath? Please add output of apt-cache policy sagemath sagemath-common and which sage to the question. – N0rbert May 03 '19 at 14:45
  • @N0rbert Sorry for my error. I edited my question. I found this here https://ask.sagemath.org/question/44399/installing-sagemath-84-on-wsl-ubuntu-1804/ – Dimitris May 03 '19 at 14:50
  • Anyway the output of commands above is really needed. Are you running WSL or ordinary normal Ubuntu 18.04 LTS? – N0rbert May 03 '19 at 15:12
  • @N0rbert Thanks for your kind interest. I am running a normal Ubuntu 18.04 LTS distribution. – Dimitris May 03 '19 at 15:17
  • 1
    I can recommend to reinstall Sage packages with sudo apt-get install --reinstall sagemath sagemath-common and retry. – N0rbert May 03 '19 at 15:20

0 Answers0