freeze utility and pickle
Gerhard Häring
gh at ghaering.de
Thu Aug 21 11:00:59 EDT 2003
Aki Niimura wrote:
> Hello everyone,
>
> I'm having a problem "freezing" my program using freeze.py under Solaris.
> My program works fine if I invoke it as a Python script.
> However, it generates a LookupError when I started the "frozen" program.
> [...]
> File "/usr/local/lib/python2.3/pickle.py", line 985, in load_string
> self.append(rep.decode("string-escape"))
> LookupError: unknown encoding: string-escape
Your frozen executable needs stuff from the 'encodings' package. At
least encodings.string_escape.
-- Gerhard
More information about the Python-list
mailing list