If you go with the suggestion I made below, then you could go back to printing a message stating that output will not be in color due to uninstalled termcolor.