#2548 was fixed as of https://github.com/jythontools/jython/commit/ebb7f49b47290fe20b1d72991b7a2d37f256fd92 and SymPy is working now, provided that one uses a version with https://github.com/sympy/sympy/pull/12120#issuecomment-277042966 incorporated.
However it is very slow. Much slower than I would expect even for Jython, so we should profile and investigate here. I was bale to run stuff from https://github.com/sympy/sympy/wiki/Quick-examples, specificially I am able to run this test-script:
from sympy import *
x, y, z, t = symbols('x y z t')
k, m, n = symbols('k m n', integer=True)
f, g, h = map(Function, 'fgh')
print Rational(3,2)*pi + exp(I*x) / (x**2 + y)
print exp(I*x).subs(x,pi).evalf()
print exp(pi * sqrt(163)).evalf(50)
print latex(S('2*4+10',evaluate=False))
print ((x+y)**2 * (x+1)).expand()
a = 1/x + (x*sin(x) - 1)/x
print simplify(a)
print solve(Eq(x**3 + 2*x**2 + 4*x + 8, 0), x)
print solve(x**3 + 2*x**2 + 4*x + 8, x)
print solve([Eq(x + 5*y, 2), Eq(-3*x + 6*y, 15)], [x, y])
print solve([x + 5*y - 2, -3*x + 6*y - 15], [x, y])
a, b = symbols('a b')
print product(n*(n+1), (n, 1, b))
print (1/cos(x)).series(x, 0, 6)
print diff(cos(x**2)**2 / (1+x), x)
print integrate(x**2 * cos(x), x)
f = Function('f')
print dsolve(Eq(Derivative(f(x),x,x) + 9*f(x), 1), f(x))
print 'done'
I started SymPy tests, but didn't yet have the patience to complete them, because it is so very slow :(
However no error yet as long as I let it run (maybe a hang-up, cannot tell because I had to cancel for now). |