[docs] zpifile.py error - no crc 32 attribute

jacob m kgrenczuk at gmail.com
Tue Aug 14 06:42:03 EDT 2018


Hi guys,
I have a problem with zipfile and zlib module, and hope to get some help.

That's my error:
"    import zipfile
  File "/home/lib/python3.7/lib/python3.7/zipfile.py", line 19, in <module>
    crc32 = zlib.crc32
AttributeError: module 'zlib' has no attribute 'crc32' "

I have no idea what to do with that :/. I suppose that my zipfile.py is
probably 13.5 version. ANyway I don't see "AttributeError" exception on
github <https://github.com/python/cpython/blob/3.7/Lib/zipfile.py> (lines
17 - 22) and that's why I'm reporting a bug.
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20180814/4c321bdf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zipfile.py
Type: application/octet-stream
Size: 79734 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/docs/attachments/20180814/4c321bdf/attachment-0001.obj>


More information about the docs mailing list