the last line means that the build of Maxima package failed (or no attempt to build it was made).
On Tue, 16 May 2023, 08:04 Girard Henri, <[email protected]> wrote: > Hi, > > It does work with ubuntu sagemath 9.5, but failed with compiled version, > any help ? > > best > > Henri > > Doing solve_tour.ipynb :solve(x^2-x-1 == 0, x) > > ---------------------------------------------------------------------------RuntimeError > Traceback (most recent call last) > Cell In [2], line 1----> 1 solve(x**Integer(2)-x-Integer(1) == Integer(0), x) > > File ~/sage/src/sage/symbolic/relation.py:1068, in solve(f, *args, **kwds) > 1063 raise TypeError("The first argument to solve() should be a " > 1064 "symbolic expression or a list of symbolic " > 1065 "expressions.") 1067 if isinstance(f, > Expression): # f is a single expression-> 1068 return > _solve_expression(f, x, explicit_solutions, multiplicities, to_poly_solve, > solution_dict, algorithm, domain) 1070 if not isinstance(f, (list, tuple)): > 1071 raise TypeError("The first argument must be a symbolic expression > or a list of symbolic expressions.") > > File ~/sage/src/sage/symbolic/relation.py:1332, in _solve_expression(f, x, > explicit_solutions, multiplicities, to_poly_solve, solution_dict, algorithm, > domain) 1329 return _giac_solver(f, x, solution_dict) 1331 # from > here on, maxima is used for solution-> 1332 m = ex._maxima_() 1333 P = > m.parent() 1334 if explicit_solutions: > > File ~/sage/src/sage/symbolic/expression.pyx:1233, in > sage.symbolic.expression.Expression._maxima_() 1231 # Maybe not such a > great idea because the "default" interface is another one 1232 from > sage.calculus.calculus import maxima-> 1233 return > super()._interface_(maxima) 1234 else: 1235 return > super()._interface_(session) > > File ~/sage/src/sage/structure/sage_object.pyx:686, in > sage.structure.sage_object.SageObject._interface_() 684 except > (KeyError, ValueError): 685 pass--> 686 nm = I.name() 687 > init_func = getattr(self, '_%s_init_' % nm, None) 688 if init_func is not > None: > > File ~/sage/src/sage/misc/lazy_import.pyx:372, in > sage.misc.lazy_import.LazyImport.__getattr__() 370 True 371 > """--> 372 return getattr(self.get_object(), attr) 373 374 # We > need to wrap all the slot methods, as they are not forwarded > > File ~/sage/src/sage/misc/lazy_import.pyx:225, in > sage.misc.lazy_import.LazyImport.get_object() 223 if > likely(self._object is not None): 224 return self._object--> 225 > return self._get_object() 226 227 cpdef _get_object(self): > > File ~/sage/src/sage/misc/lazy_import.pyx:261, in > sage.misc.lazy_import.LazyImport._get_object() 259 260 try:--> > 261 self._object = getattr(__import__(self._module, {}, {}, > [self._name]), self._name) 262 except ImportError as e: 263 > if self._feature: > > File ~/sage/src/sage/interfaces/maxima_lib.py:135 133 > ecl_eval("(require 'maxima \"{}\")".format(MAXIMA_FAS)) 134 else:--> 135 > ecl_eval("(require 'maxima)") 136 ecl_eval("(in-package :maxima)") > 137 ecl_eval("(setq $nolabels t))") > > File ~/sage/src/sage/libs/ecl.pyx:1350, in sage.libs.ecl.ecl_eval() 1348 > 1349 #convenience routine to more easily evaluate strings-> 1350 cpdef > EclObject ecl_eval(str s): 1351 r""" 1352 Read and evaluate > string in Lisp and return the result > > File ~/sage/src/sage/libs/ecl.pyx:1373, in sage.libs.ecl.ecl_eval() 1371 > """ 1372 cdef cl_object o-> 1373 o=ecl_safe_eval(python_to_ecl(s, True)) > 1374 return ecl_wrap(o) 1375 > > File ~/sage/src/sage/libs/ecl.pyx:321, in sage.libs.ecl.ecl_safe_eval() > 319 raise KeyboardInterrupt("ECL says: {}".format(message)) 320 > else:--> 321 raise RuntimeError("ECL says: {}".format(message)) > 322 else: 323 return ret > RuntimeError: ECL says: Module error: Don't know how to REQUIRE MAXIMA. > > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/9a57bb00-5a72-ae4e-deff-dc6a253fe340%40gmail.com > <https://groups.google.com/d/msgid/sage-devel/9a57bb00-5a72-ae4e-deff-dc6a253fe340%40gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq32KKWRzPgGSTGvGjWJ7yGVvrzgtWiUSsJjUmAPVQ864A%40mail.gmail.com.
