Guard import with exception handler

setup.py import version which fails due to missing dependencies.