no module string in sage on Debian 10
When I launch sage on Debian 10, I obtain the following message
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.6, Release Date: 2019-01-15 │
│ Using Python 2.7.16. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
File "/usr/share/sagemath/bin/sage-ipython", line 12, in <module>
from sage.repl.interpreter import SageTerminalApp
File "/usr/lib/python2.7/dist-packages/sage/repl/interpreter.py", line 108, in <module>
from sage.repl.preparse import preparse
File "/usr/lib/python2.7/dist-packages/sage/repl/preparse.py", line 227, in <module>
from sage.repl.load import load_wrap
File "/usr/lib/python2.7/dist-packages/sage/repl/load.py", line 19, in <module>
from sage.cpython.string import str_to_bytes, bytes_to_str, FS_ENCODING
ImportError: No module named string
Can you help me?
Thanks
Please edit your question to specify how Sage was installed:
apt-get install sagemath-jupyter
conda install sage
It sounds like your sage installation is broken somehow, but if you can't answer follow-up questions there's no way we can help...