I am a new Sage user. In running the tutorial, the solve command would not
work. Searching previous questions, I then installed the Command Line
tools and removed the .sage file, but the solve command is still not
working. Here is the error traceback.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_6.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n"
+
_support_.preparse_worksheet_cell(base64.b64decode("eD12YXIoJ3gnKQpzb2x2ZShbeF4yKzMqeCsyPT0wXSx4KQ=="),globals())+"\\n");
execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File
"/private/var/folders/y6/1y6nl3y559b3r2m8fvh0t_pr0000gp/T/tmpyeAhyv/___code___.py",
line 4, in <module>
exec compile(u'solve([x**_sage_const_2 +_sage_const_3 *x+_sage_const_2
==_sage_const_0 ],x)
File "", line 1, in <module>
File
"/Applications/SageMath-7.6.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/symbolic/relation.py",
line 824, in solve
return f[0].solve(*args,**kwds)
File "sage/symbolic/expression.pyx", line 10913, in
sage.symbolic.expression.Expression.solve
(build/cythonized/sage/symbolic/expression.cpp:57788)
File "sage/symbolic/expression.pyx", line 795, in
sage.symbolic.expression.Expression._maxima_
(build/cythonized/sage/symbolic/expression.cpp:7507)
File "sage/structure/sage_object.pyx", line 671, in
sage.structure.sage_object.SageObject._interface_
(build/cythonized/sage/structure/sage_object.c:6297)
File "sage/misc/lazy_import.pyx", line 357, in
sage.misc.lazy_import.LazyImport.__getattr__
(build/cythonized/sage/misc/lazy_import.c:3857)
File "sage/misc/lazy_import.pyx", line 249, in
sage.misc.lazy_import.LazyImport._get_object
(build/cythonized/sage/misc/lazy_import.c:2498)
File
"/Applications/SageMath-7.6.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/interfaces/maxima_lib.py",
line 101, in <module>
ecl_eval("(require 'maxima)")
File "sage/libs/ecl.pyx", line 1317, in sage.libs.ecl.ecl_eval
(build/cythonized/sage/libs/ecl.c:10744)
File "sage/libs/ecl.pyx", line 1332, in sage.libs.ecl.ecl_eval
(build/cythonized/sage/libs/ecl.c:10683)
File "sage/libs/ecl.pyx", line 344, in sage.libs.ecl.ecl_safe_eval
(build/cythonized/sage/libs/ecl.c:5747)
RuntimeError: ECL says:
(#P"/Applications/SageMath-7.6.app/Contents/Resources/sage/local/var/tmp/sage/build/maxima-5.39.0.p0/src/src/displa.lisp"
. 50788) is not a valid documentation string
I will try reinstalling Sage and see if that solves the problem, but is this
necessary?
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.