zpifile.py error - no crc 32 attribute

jacob m kgrenczuk at gmail.com
Wed Aug 22 07:12:59 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 use this version of zipfile:
https://github.com/python/cpython/blob/3.7/Lib/zipfile.py

Somebody knows how to solve it?
Regards



More information about the Python-list mailing list