Ubuntu 18.04 apt install - ModuleNotFoundError: No module named 'sage'
I'm on Ubuntu 18.04.4 LTS.
% sudo aptitude install sage
[...]
% which sage
/usr/bin/sage
% sage --version
SageMath version 8.1, Release Date: 2017-12-07
then
% sage
┌────────────────────────────────────────────────────────────────────┐
│ 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'
Conda provides my Python. I did not install sagemath using Conda - couldn't get it to run. I was assuming the platform package would work.
Is there a simple solution?
Cheers, --PG
Deactivate conda and try again.
That's like 'cycle-the-power'. Which we all use sometimes :-)