CLI: add import protection to datasets
# What does this PR do?

Add import protection to datasets -- I've seen two or three recent issues where the authors can't post their env due to `datasets` failing to import on `pt-to-tf` ([example](https://github.com/huggingface/transformers/issues/19445))
_The documentation is not available anymore as the PR was closed or merged._