from six import text_type ModuleNotFoundError: No module named 'six' code example Example: ImportError: No module named 'six' pip install six