Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sagemath launch problems on Ubuntu

I think I have a sagemath env. variable setting problem causing to sagemath to throw python exceptions at startup.

Here are my software versions .....

vasily@vasily-Latitude-E7240:~$ sage --version SageMath version 8.1, Release Date: 2017-12-07 vasily@vasily-Latitude-E7240:~$ python --version Python 2.7.15rc1 vasily@vasily-Latitude-E7240:~$ uname -a Linux vasily-Latitude-E7240 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux vasily@vasily-Latitude-E7240:~$ uname -v

50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019

Here is pythin backtrace ....

Traceback (most recent call last): File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module> from sage.repl.interpreter import SageTerminalApp File "/usr/lib/python2.7/dist-packages/sage/repl/interpreter.py", line 107, in <module> from sage.repl.preparse import preparse File "/usr/lib/python2.7/dist-packages/sage/repl/preparse.py", line 225, in <module> import six ImportError: No module named six Traceback (most recent call last): File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module> from sage.repl.interpreter import SageTerminalApp File "/usr/lib/python2.7/dist-packages/sage/repl/interpreter.py", line 107, in <module> from sage.repl.preparse import preparse File "/usr/lib/python2.7/dist-packages/sage/repl/preparse.py", line 225, in <module> import six ImportError: No module named six

Somehow preparse.py is not happy .... Any ideas?

Kind regards,,

Vasily

sagemath launch problems on Ubuntu

I think I have a sagemath env. SageMath environment variable setting problem problem causing to sagemath SageMath to throw python Python exceptions at startup.

Here are my software versions .....

versions:

vasily@vasily-Latitude-E7240:~$ sage --version
SageMath version 8.1, Release Date: 2017-12-07
vasily@vasily-Latitude-E7240:~$ python --version
Python 2.7.15rc1
vasily@vasily-Latitude-E7240:~$ uname -a
Linux vasily-Latitude-E7240 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
vasily@vasily-Latitude-E7240:~$ uname -v

50-Ubuntu -v #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019

2019

Here is pythin backtrace ....

the Python backtrace:

Traceback (most recent call last):
  File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
    from sage.repl.interpreter import SageTerminalApp
  File "/usr/lib/python2.7/dist-packages/sage/repl/interpreter.py", line 107, in <module>
    from sage.repl.preparse import preparse
  File "/usr/lib/python2.7/dist-packages/sage/repl/preparse.py", line 225, in <module>
    import six
ImportError: No module named six
Traceback (most recent call last):
  File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
    from sage.repl.interpreter import SageTerminalApp
  File "/usr/lib/python2.7/dist-packages/sage/repl/interpreter.py", line 107, in <module>
    from sage.repl.preparse import preparse
  File "/usr/lib/python2.7/dist-packages/sage/repl/preparse.py", line 225, in <module>
    import six
ImportError: No module named six

six

Somehow preparse.py preparse.py is not happy .... happy. Any ideas?

Kind regards,,

Vasily

click to hide/show revision 3
retagged

sagemath launch problems on Ubuntu

I think I have a SageMath environment variable setting problem causing to SageMath to throw Python exceptions at startup.

Here are my software versions:

vasily@vasily-Latitude-E7240:~$ sage --version
SageMath version 8.1, Release Date: 2017-12-07
vasily@vasily-Latitude-E7240:~$ python --version
Python 2.7.15rc1
vasily@vasily-Latitude-E7240:~$ uname -a
Linux vasily-Latitude-E7240 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
vasily@vasily-Latitude-E7240:~$ uname -v
#50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019

Here is the Python backtrace:

Traceback (most recent call last):
  File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
    from sage.repl.interpreter import SageTerminalApp
  File "/usr/lib/python2.7/dist-packages/sage/repl/interpreter.py", line 107, in <module>
    from sage.repl.preparse import preparse
  File "/usr/lib/python2.7/dist-packages/sage/repl/preparse.py", line 225, in <module>
    import six
ImportError: No module named six
Traceback (most recent call last):
  File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
    from sage.repl.interpreter import SageTerminalApp
  File "/usr/lib/python2.7/dist-packages/sage/repl/interpreter.py", line 107, in <module>
    from sage.repl.preparse import preparse
  File "/usr/lib/python2.7/dist-packages/sage/repl/preparse.py", line 225, in <module>
    import six
ImportError: No module named six

Somehow preparse.py is not happy. Any ideas?