This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Andrey.Antsut
Recipients Andrey.Antsut
Date 2014-03-04.22:33:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393972410.33.0.320365155079.issue20852@psf.upfronthosting.co.za>
In-reply-to
Content
When embedding Python into C++, Py_Initialize() crashes with following errors if the standard library (python33\lib) is in a zip archive (e.g. python33.zip):

Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'

This seems to be specific to Python 3.3.4: works fine with 3.3.2 and 3.3.3, not tested with other versions. Tested only on Windows.

More details with code examples can be found here:

http://stackoverflow.com/questions/22174760/embedding-python-3-3-in-c-from-zipped-standard-library-on-windows-xp
History
Date User Action Args
2014-03-04 22:33:30Andrey.Antsutsetrecipients: + Andrey.Antsut
2014-03-04 22:33:30Andrey.Antsutsetmessageid: <1393972410.33.0.320365155079.issue20852@psf.upfronthosting.co.za>
2014-03-04 22:33:30Andrey.Antsutlinkissue20852 messages
2014-03-04 22:33:29Andrey.Antsutcreate