Compatibility with python 2.7 and informative message when the configuration file is missing