Message131324
> As for this error:
> Fatal Python error: Py_Initialize: Unable to get the locale encoding
> LookupError: no codec search functions registered: can't find encoding
>
> It seems to me that this error appears if the path passed to
> Py_SetPath does not point to a valid python lib folder.
Indeed, it does. The error message could perhaps get improved.
What Python does is try to find the current locale's encoding in the
"encodings" package and load it. If it can't find it, it assumes that's
because the encoding is unknown, not because the path is wrong. |
|
Date |
User |
Action |
Args |
2011-03-18 10:55:18 | pitrou | set | recipients:
+ pitrou, barry, ncoghlan, vstinner, tarek, srid, palm.kevin |
2011-03-18 10:55:17 | pitrou | link | issue11320 messages |
2011-03-18 10:55:17 | pitrou | create | |
|