I'm running Fedora 29 and I installed SageMath from dnf as: sudo dnf install sagemath
.
When I run sage $ sage
I get this error:
$ sage
/usr/lib64/sagemath/local/bin/sage: line 601: unexpected EOF while looking for matching `)'
/usr/lib64/sagemath/local/bin/sage: line 661: syntax error: unexpected end of file