def print_warning(cls):
        """Print a missing progress bar warning if it was not printed.
        """
        if not cls.warning:
            cls.warning = True
            print('Can\'t create progress bar:', str(TQDM_IMPORT_ERROR),
                  file=sys.stderr)