[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

Amaury Forgeot d'Arc report at bugs.python.org
Mon May 21 14:32:17 CEST 2012


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Most of the time, embedding python in this way requires precise control over PYTHONPATH and PYTHONHOME.  Did you try to modify them?
Something like this worked for me:
  putenv("PYTHONPATH=/path/to/python-3.2.3/Lib");
  Py_SetPythonHome(L"/path/to/python-3.2.3");
I don't know whether both are needed.

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list