I did the same thing you did, with the exception of "init_printing()". Here, I started from scratch again:
Same thing happens in Python 3:
Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from sympy import * >>> x = symbols("x") >>> integrate(sin(x**2),x) 3*sqrt(2)*sqrt(pi)*fresnels(sqrt(2)*x/sqrt(pi))*gamma(3/4)/(8*gamma(7/4))My OS is Linux Mint 18, and I installed python and sympy from the terminal with "sudo apt-get install python python-sympy". I don't know how to check Sympy's version. I have Sympy 0.7.6.1-1
Same thing happens in Python 3:
Python 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from sympy import * >>> x = symbols("x") >>> integrate(sin(x**2),x) 3*sqrt(2)*sqrt(pi)*fresnels(sqrt(2)*x/sqrt(pi))*gamma(3/4)/(8*gamma(7/4))