Message212744
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 |
|
Date |
User |
Action |
Args |
2014-03-04 22:33:30 | Andrey.Antsut | set | recipients:
+ Andrey.Antsut |
2014-03-04 22:33:30 | Andrey.Antsut | set | messageid: <1393972410.33.0.320365155079.issue20852@psf.upfronthosting.co.za> |
2014-03-04 22:33:30 | Andrey.Antsut | link | issue20852 messages |
2014-03-04 22:33:29 | Andrey.Antsut | create | |
|