STINNER Victor added the comment:

Strange, I don't see any obvious error related to the C "z" lib or to the 
Python "zlib" module.

Example on my system:

haypo@selma$ python3
Python 3.5.2 (default, Sep 14 2016, 11:28:32) 
[GCC 6.2.1 20160901 (Red Hat 6.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import zlib
>>> zlib
<module 'zlib' from 
haypo@selma$ ldd 
/usr/lib64/python3.5/lib-dynload/ (0x00007fff22f2e000) => /lib64/ (0x00007f88e1fe0000) => /lib64/ (0x00007f88e1b13000) => /lib64/ (0x00007f88e18f5000) => /lib64/ (0x00007f88e152f000) => /lib64/ (0x00007f88e132b000) => /lib64/ (0x00007f88e1126000) => /lib64/ (0x00007f88e0e1d000)
        /lib64/ (0x000055d00b915000)
haypo@selma$ ldd 
haypo@selma$ ls -l /lib64/
lrwxrwxrwx. 1 root root 13  5 févr.  2016 /lib64/ ->

Can you check if you have a "zlib.(...).so" file in 
/usr/lib64/python3.5/lib-dynload/? (ajust to the right directory)


Python tracker <>
Python-bugs-list mailing list

Reply via email to