[issue24537] Py_Initialize unable to load the file system codec

2015-07-02 Thread Tim Golden
Tim Golden added the comment: I'm not sure why you expect this to work: the Python C API relies on the presence of a Python installation to work. It's not, in itself, a means of bundling Python. I assume you must have at least had the python .dll present or the program wouldn't even have had

[issue24537] Py_Initialize unable to load the file system codec

2015-07-01 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- components: +Windows -Extension Modules nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24537 ___

[issue24537] Py_Initialize unable to load the file system codec

2015-06-30 Thread Dana Christen
New submission from Dana Christen: I'm using the C API to embed the Python interpreter (see the attached example). Everything works fine until I try to run the resulting executable on a machine without a Python installation. In that case, the call to Py_Initialize fails with the following