adding sympy to exceptions