out of input in pickle code example Example: python EOFError: Ran out of input It is very likely that the pickled file is empty.