[issue24871] freeze.py doesn't work on x86_64 Linux out of the box

Mikhail Terekhov report at bugs.python.org
Sat Aug 15 05:13:46 CEST 2015


New submission from Mikhail Terekhov:

On 64-bit Linux freeze.py uses lib instead of lib64 when constructing
path to Makefile etc. Using sysconfig fixes this issue.


Without encodings.ascii resulting program fails with the following error:

Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: ANSI_X3.4-1968
Aborted

Attached patch fixes both issues.

----------
components: Demos and Tools
files: freeze-lib64.diff
keywords: patch
messages: 248633
nosy: termim
priority: normal
severity: normal
status: open
title: freeze.py doesn't work on x86_64 Linux out of the box
versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file40182/freeze-lib64.diff

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


More information about the Python-bugs-list mailing list