[New-bugs-announce] [issue34442] zlib module not built on windows

Stephen Kelly report at bugs.python.org
Mon Aug 20 10:40:14 EDT 2018


New submission from Stephen Kelly <steveire at gmail.com>:

I tried to build python 3.7.0 from source.

I ran the PCBuild/build.bat script. That downloaded zlib to the external/ directory.

However, it does not seem to be built. When running I get:

python\3.7.0\lib\zipfile.py", line 646, in _check_compression                                                                                                                       "Compression requires the (missing) zlib module")                                                                                                                                                                RuntimeError: Compression requires the (missing) zlib module  

I examined PCBuild/pcbuild.proj. It makes no mention of zlib, though it mentions other externals.

I notice that Python 3.6.1 contained zlib in Modules/zlib instead of coming from external/.

Presumably that source was moved, but the Windows-related scripts were not updated.

----------
components: Extension Modules
messages: 323791
nosy: steveire
priority: normal
severity: normal
status: open
title: zlib module not built on windows
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34442>
_______________________________________


More information about the New-bugs-announce mailing list