File "C:\Python34\lib\site-packages\sympy\solvers\solvers.py", line 909, in solve
solution = _solve(f[0], *symbols, **flags)
File "C:\Python34\lib\site-packages\sympy\solvers\solvers.py", line 1218, in _solve
u = unrad(f_num)
File "C:\Python34\lib\site-packages\sympy\solvers\solvers.py", line 2885, in unrad
neq = unrad(eq, *syms, cov=cov, dens=dens, n=len(rterms), rpt=rpt, take=_take)
File "C:\Python34\lib\site-packages\sympy\solvers\solvers.py", line 2885, in unrad
neq = unrad(eq, *syms, cov=cov, dens=dens, n=len(rterms), rpt=rpt, take=_take)
File "C:\Python34\lib\site-packages\sympy\solvers\solvers.py", line 2781, in unrad
eq = _mexpand(eq)
File "C:\Python34\lib\site-packages\sympy\simplify\sqrtdenest.py", line 13, in _mexpand
return expand_mul(expand_multinomial(expr))
File "C:\Python34\lib\site-packages\sympy\core\function.py", line 2006, in expand_multinomial
power_base=False, basic=False, multinomial=True, log=False)
File "C:\Python34\lib\site-packages\sympy\core\cache.py", line 91, in wrapper
retval = cfunc(*args, **kwargs)
File "C:\Python34\lib\functools.py", line 458, in wrapper
result = user_function(*args, **kwds)
File "C:\Python34\lib\site-packages\sympy\core\expr.py", line 2871, in expand
expr, hit = Expr._expand_hint(expr, hint, deep=deep, **hints)
File "C:\Python34\lib\site-packages\sympy\core\expr.py", line 2804, in _expand_hint
arg, arghit = Expr._expand_hint(arg, hint, **hints)
File "C:\Python34\lib\site-packages\sympy\core\expr.py", line 2804, in _expand_hint
arg, arghit = Expr._expand_hint(arg, hint, **hints)
File "C:\Python34\lib\site-packages\sympy\core\expr.py", line 2812, in _expand_hint
newexpr = getattr(expr, hint)(**hints)
File "C:\Python34\lib\site-packages\sympy\core\power.py", line 819, in _eval_expand_multinomial
expansion_dict = multinomial_coefficients(len(p), n)
File "C:\Python34\lib\site-packages\sympy\ntheory\multinomial.py", line 145, in multinomial_coefficients
return dict(multinomial_coefficients_iterator(m, n))
File "C:\Python34\lib\site-packages\sympy\ntheory\multinomial.py", line 237, in multinomial_coefficients_iterator
t1 = _tuple(t)
MemoryError