Ask Your Question

gus's profile - activity

2019-06-01 10:27:31 -0600 asked a question Clean binary from /usr/bin after uninstall

Hi, I am working on Ubuntu 18.04 LTS.

After an unfortunate experience with the package version of sage, which I installed via apt-get, I decided to install Sage from source. Then, I ran sudo apt-get remove sagemath, but after the removal, I still have a binary in /usr/bin/sage : is it ok to replace it by the binary which I compiled, using a symbolic link ?

2019-06-01 03:10:56 -0600 commented answer type error when using symbolic calculus

Hello, I built Sage from source, now the sine function works and I get a plot. I guess downloading a binary from apt-get is not adapted, I guess it makes sense to compile, seeing so many powerful low level libraries at the base of Sage

2019-05-31 14:20:07 -0600 commented question type error when using symbolic calculus
2019-05-31 13:46:12 -0600 commented question type error when using symbolic calculus

hi sorry for the delay, I installed SageMath using apt-get install on Ubuntu 18.04. Actually I did that recently and know my kernel does not even start. I cleaned all pythonpath and pythonrc from my bashrc. I'm posting the error next :

2019-05-03 13:25:53 -0600 commented answer type error when using symbolic calculus

I did not import anything, however it does seem that the python sin function shadows the sage sin function. I'll try installing sage 8.7 and see if something changes

2019-05-03 12:16:10 -0600 received badge  Student (source)
2019-05-02 15:08:39 -0600 asked a question type error when using symbolic calculus

I have been using Sage for a few months. Up to now, plotting, polynomials, and arithmetic functions have been running fine.

Now I'm trying to use the symbolic calculation skills of Sage, but ... I am getting the error : "unable to simplify to float approximation" when running, for instance :

var('t')
sin(t)

on a locally hosted jupyter notebook running the SageMath 8.3 kernel. My OS is Ubuntu 18.04.

Same error in pure Sage :

sage: var('t')
t
sage: sin(t)
Traceback (most recent call last)
<ipython-input-3-17829414d33a> in <module>()
----> 1 sin(t)
/xxxxxxxxxxxxxxxxxxxxxx/lib/python2.7/site-packages/sage/symbolic/expression.pyx in
sage.symbolic.expression.Expression.__float__
(build/cythonized/sage/symbolic/expression.cpp:11836)()
    1426                    raise
    1427            except TypeError:
 -> 1428                raise TypeError("unable to simplify to float approximation")
    1429        return ret
    1430

TypeError: unable to simplify to float approximation
sage: