Gaige Paulsen <[email protected]> added the comment:
I should have been more specific. Sorry about that.
Yes, when including <Python/Python.h> in Xcode, incorporating the framework. In
particular, I'm embedding 3.8 in an application (previously used the system
Framework, which was 2.7, which worked but Apple has warned that it may
disappear....).
The Xcode error is:
In file included from /Users/gaige/MyApp/Code/PythonImporter.m:10:
In file included from ../python-framework/Python.framework/Headers/Python.h:121:
In file included from
../python-framework/Python.framework/Headers/genobject.h:11:
In file included from
../python-framework/Python.framework/Headers/pystate.h:129:
../python-framework/Python.framework/Headers/cpython/pystate.h:10:10: fatal
error: 'cpython/initconfig.h' file not found
#include "cpython/initconfig.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
python-framework is in the framework search path.
Let me know if there's something further I can clarify.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39026>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com