Don't import sympy in isympy

This fixes issue 3949.
Merge pull request #2317 from asmeurer/isympy-import

Don't import sympy in isympy