I’m getting Key error in python
A KeyError generally means the key doesn’t exist. So, are you sure the path key exists? From the official python docs: exception KeyError Raised when a mapping (dictionary) key is not found in the set of existing keys. For example: So, try to print the content of meta_entry and check whether path exists or not. Or, you can do: