from six import string_types modulenotfounderror no module named 'six' code example Example: ImportError: No module named 'six' pip install six