On the python termial on my debian testing system:
Python 2.7.16rc1 (default, Feb 18 2019, 11:05:09) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from sage.all_cmdline import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/sage/all_cmdline.py", line 26, in <module> from sage.all import * File "/usr/lib/python2.7/dist-packages/sage/all.py", line 70, in <module> from sage.env import SAGE_ROOT, SAGE_SRC, SAGE_DOC_SRC, SAGE_LOCAL, DOT_SAGE, SAGE_ENV File "/usr/lib/python2.7/dist-packages/sage/env.py", line 123, in <module> _add_variable_or_fallback('SAGE_ETC', opj('$SAGE_LOCAL', 'etc')) File "/usr/lib/python2.7/dist-packages/sage/env.py", line 103, in _add_variable_or_fallback value = sep.join(components) TypeError: sequence item 0: expected string, NoneType found >>> and also: > source /usr/share/sagemath/bin/sage-env > andreas@lazarus ~/src/dissertation/analytical (svn)-[analytical:36730] % python Python 2.7.16rc1 (default, Feb 18 2019, 11:05:09) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from sage.all_cmdline import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/sage/all_cmdline.py", line 26, in <module> from sage.all import * File "/usr/lib/python2.7/dist-packages/sage/all.py", line 83, in <module> from sage.misc.all import * # takes a while File "/usr/lib/python2.7/dist-packages/sage/misc/all.py", line 84, in <module> from .functional import (additive_order, File "/usr/lib/python2.7/dist-packages/sage/misc/functional.py", line 27, in <module> from sage.rings.complex_double import CDF File "sage/rings/complex_double.pyx", line 1, in init sage.rings.complex_double (build/cythonized/sage/rings/complex_double.c:22356) File "sage/rings/ring.pyx", line 1, in init sage.rings.ring (build/cythonized/sage/rings/ring.c:22311) File "sage/structure/parent_gens.pyx", line 1, in init sage.structure.parent_gens (build/cythonized/sage/structure/parent_gens.c:5388) File "sage/structure/parent_base.pyx", line 1, in init sage.structure.parent_base (build/cythonized/sage/structure/parent_base.c:2543) File "sage/structure/parent_old.pyx", line 1, in init sage.structure.parent_old (build/cythonized/sage/structure/parent_old.c:8649) File "sage/structure/parent.pyx", line 1, in init sage.structure.parent (build/cythonized/sage/structure/parent.c:27339) File "sage/structure/category_object.pyx", line 62, in init sage.structure.category_object (build/cythonized/sage/structure/category_object.c:9657) File "/usr/lib/python2.7/dist-packages/sage/categories/category.py", line 110, in <module> from sage.misc.unknown import Unknown File "/usr/lib/python2.7/dist-packages/sage/misc/unknown.py", line 11, in <module> from sage.structure.unique_representation import UniqueRepresentation File "/usr/lib/python2.7/dist-packages/sage/structure/unique_representation.py", line 570, in <module> class CachedRepresentation(six.with_metaclass(ClasscallMetaclass)): File "/usr/local/lib/python2.7/dist-packages/six.py", line 809, in with_metaclass return type.__new__(metaclass, 'temporary_class', (), {}) TypeError: type.__new__(metaclass) is not safe, use sage.misc.classcall_metaclass.ClasscallMetaclass.__new__() >>> please find all the data concerning my system and involved packages in the attached file -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
reportbug
Description: Binary data