On Tue, Sep 8, 2020 at 8:41 AM Taj Jankovic <taj.janko...@gmail.com> wrote:
>
> Hi everyone,
>
> I am having trouble with the SageMath.
>
> 1/ I've downloaded the binary tar file sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 
> from
> https://www.sagemath.org/download-linux.html
>
> 2/ Then
> tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2
> cd SageMath

at this point one should run

./sage

without parameters.
Only then it should be ready (the 1st run is a kind of bootstrap)

> ./sage -tp --long src/sage/manifolds
>
> However, instead of "All tests passed!", I get a multitude of errors.
>
> -a typical error is:
>
> sage -t --long src/sage/manifolds/utilities.py
> **********************************************************************
> File "src/sage/manifolds/utilities.py", line 54, in 
> sage.manifolds.utilities.SimplifySqrtReal
> Failed example:
>     assume(x<1)
> Exception raised:
>     Traceback (most recent call last):
>       File 
> "/home/taj/SageMath/local/lib/python3.7/site-packages/sage/doctest/forker.py",
>  line 681, in _run
>         self.compile_and_execute(example, compiler, test.globs)
>       File 
> "/home/taj/SageMath/local/lib/python3.7/site-packages/sage/doctest/forker.py",
>  line 1123, in compile_and_execute
>         exec(compiled, globs)
>       File "<doctest sage.manifolds.utilities.SimplifySqrtReal[0]>", line 1, 
> in <module>
>         assume(x<Integer(1))
>       File 
> "/home/taj/SageMath/local/lib/python3.7/site-packages/sage/symbolic/assumptions.py",
>  line 627, in assume
>         x.assume()
>       File "sage/symbolic/expression.pyx", line 1877, in 
> sage.symbolic.expression.Expression.assume 
> (build/cythonized/sage/symbolic/expression.cpp:13564)
>         m = self._maxima_init_assume_()
>       File "sage/symbolic/expression.pyx", line 1953, in 
> sage.symbolic.expression.Expression._maxima_init_assume_ 
> (build/cythonized/sage/symbolic/expression.cpp:14329)
>         m = '(%s)%s(%s)' % (l, maxima._relation_symbols()[op], r)
>       File "sage/misc/lazy_import.pyx", line 321, in 
> sage.misc.lazy_import.LazyImport.__getattr__ 
> (build/cythonized/sage/misc/lazy_import.c:3536)
>         return getattr(self.get_object(), attr)
>       File "sage/misc/lazy_import.pyx", line 188, in 
> sage.misc.lazy_import.LazyImport.get_object 
> (build/cythonized/sage/misc/lazy_import.c:2347)
>         return self._get_object()
>       File "sage/misc/lazy_import.pyx", line 220, in 
> sage.misc.lazy_import.LazyImport._get_object 
> (build/cythonized/sage/misc/lazy_import.c:2586)
>         self._object = getattr(__import__(self._module, {}, {}, 
> [self._name]), self._name)
>       File 
> "/home/taj/SageMath/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py",
>  line 92, in <module>
>         from sage.libs.ecl import EclObject, ecl_eval
>     ImportError: 
> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/libs/ecl.cpython-37m-x86_64-linux-gnu.so:
>  undefined symbol: cl_env_p
> **********************************************************************
>
> I am using Ubuntu 18.04 LTS and have Python 2.7, 3.6, and 3.7 installed. Does 
> anyone maybe have an idea of what could be causing these errors? Any help is 
> very much appreciated.
>
> Best regards,
> Taj Jankovič
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/308662a3-99ea-4aab-96e6-7a2878f8a2fdn%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3PAg4%3DnVZyTMLphu65_rcjgOEh9Q-0N%3D69MR0yyrSf8w%40mail.gmail.com.

Reply via email to