Install the correct sympy versions for testing with Python 2 and 3