How to fix Error: Config file not found or invalid in Python | DevErrors