Fixed python3 compatibility
Merge branch 'amd64-install' of github.com:vchekan/sympy into amd64-install