Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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/", line 108, in <module>
    from sage.repl.preparse import preparse
  File "/usr/lib/python2.7/dist-packages/sage/repl/", line 227, in <module>
    from sage.repl.load import load_wrap
  File "/usr/lib/python2.7/dist-packages/sage/repl/", 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?