don't import sqlalchemy if crate is deselected