[issue11320] Can't call Py_SetPath() on pointer returned by Py_GetPath()

Palm Kevin report at bugs.python.org
Fri Mar 18 09:01:27 CET 2011


Palm Kevin <kevin.palm at labsolution.lu> added the comment:

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.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11320>
_______________________________________


More information about the Python-bugs-list mailing list